ref: e3868c52509cdae3c626eedaa958fe9e214b5056
parent: 41f09af2818ce3798276235bad28bac7b01af116
author: sl <[email protected]>
date: Thu Aug 10 17:43:54 EDT 2017
bin/contrib/rc-httpd/handlers/dir-index: use urlencode(1), not urlencode.awk (for now?)
--- 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 | 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){