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

This commit is contained in:
Stanley Lieber 2016-02-11 16:25:11 -05:00
parent 52d7d43342
commit 721ac39234

View file

@ -1,5 +1,5 @@
#!/bin/rc #!/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=$"FS_ROOT^$"PATH_INFO
full_path=$"full_path full_path=$"full_path
if(! test -d $full_path){ if(! test -d $full_path){