bin/contrib/rc-httpd/handlers/dir-index: use urlencode.awk

This commit is contained in:
sl 2016-02-11 16:25:11 -05:00
parent 3761dadd69
commit ba554d6d62

View File

@ -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){