Explorar el Código

Decode REQUEST_PATH using urldecode.awk

Frans Bergman hace 4 años
padre
commit
c592d15026
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      bin/corehandlers.sh

+ 1 - 1
bin/corehandlers.sh

@@ -1,6 +1,6 @@
 #!/bin/sh
 
-REQUEST_PATH="$(echo "$REQUEST_URI" | awk -F'?' '{ print $1 }')"
+REQUEST_PATH="$(echo "$REQUEST_URI" | awk -F'?' '{ print $1 }' | ./urldecode.awk)"
 
 handler() {
     case "$1" in