Add comment about minnor bug.
This commit is contained in:
parent
2a7d3c1a0f
commit
e87cc5e8bf
@ -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,.*,<h1 class="dir-list-head">&</h1> <ul class="dir-list">,'
|
||||
# Symlinks suck: '/.' forces ls to list the linked dir if $d is a symlink.
|
||||
ls -F $dir_listing_ls_opts $d/. | sed $dirfilter$dirclean' s,.*/([^/]+/?)$,<li><a href="\1">\1</a></li>,'
|
||||
|
Loading…
Reference in New Issue
Block a user