ref: 9a25ae375c03181812e0cc1b8cdd45eb89564c78
parent: d3eaff9f386bb119390487ad0e3758999b61903a
author: sl <[email protected]>
date: Thu Feb 11 11:25:11 EST 2016
bin/contrib/rc-httpd/handlers/dir-index: use urlencode.awk
--- a/bin/contrib/rc-httpd/handlers/dir-index
+++ b/bin/contrib/rc-httpd/handlers/dir-index
@@ -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){