diff --git a/bin/werc.rc b/bin/werc.rc index e1ba246..22a6cef 100755 --- a/bin/werc.rc +++ b/bin/werc.rc @@ -79,6 +79,7 @@ fn txt_handler { fn dir_listing_handler { d=`{basename -d $1} + # XXX $d is based on $local_path, but should display only req_path here. echo $d|sed 's,.*//,,g; s,/$,,; s,/, / ,g; s,.*,