bin/contrib/rc-httpd/handlers/dir-index: use urlencode.awk
This commit is contained in:
parent
3761dadd69
commit
ba554d6d62
@ -1,5 +1,5 @@
|
||||
#!/bin/rc
|
||||
PATH_INFO=`{echo $PATH_INFO | urlencode -d}
|
||||
PATH_INFO=`{echo $PATH_INFO | awk -f $libdir/urlencode.awk}
|
||||
full_path=$"FS_ROOT^$"PATH_INFO
|
||||
full_path=$"full_path
|
||||
if(! test -d $full_path){
|
||||
|
Loading…
Reference in New Issue
Block a user