bin/contrib/rc-httpd/handlers/dir-index: use urlencode(1), not urlencode.awk (for now?)

This commit is contained in:
stanley lieber 2017-08-10 21:43:54 -04:00
parent 13e55c83b2
commit c4bd47b73d

View File

@ -1,5 +1,5 @@
#!/bin/rc
PATH_INFO=`{echo $PATH_INFO | awk -f $libdir/urlencode.awk}
PATH_INFO=`{echo $PATH_INFO | urlencode -d}
full_path=$"FS_ROOT^$"PATH_INFO
full_path=$"full_path
if(! test -d $full_path){