Comment explaning what still needs to be done to properly allow files in dirs
This commit is contained in:
parent
337c827d00
commit
881a98bef9
1 changed files with 1 additions and 0 deletions
|
|
@ -39,6 +39,7 @@ fn menu {
|
|||
ls $lsArgs $1 | sed $dirfilter | awk -F/ '
|
||||
BEGIN { print "<ul class=\"sidebar\">" }
|
||||
END { print "</ul>" }
|
||||
# Should add \. to the list of allowed chars in file names, but need to find a way to filter out .txt and so on
|
||||
/^([a-zA-Z0-9+_\-]+[\/*]?)+$/ && $NF != "index" {
|
||||
isdir = match($0, "/$")
|
||||
sub("[*/]$", "")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue