From 881a98bef96aefee1d8b41f250d8427c2aabdcbf Mon Sep 17 00:00:00 2001 From: Uriel Date: Sat, 28 Jun 2008 06:26:28 +0200 Subject: [PATCH] Comment explaning what still needs to be done to properly allow files in dirs --- bin/controller.rc | 1 + 1 file changed, 1 insertion(+) diff --git a/bin/controller.rc b/bin/controller.rc index 81fe8da..b894685 100755 --- a/bin/controller.rc +++ b/bin/controller.rc @@ -39,6 +39,7 @@ fn menu { ls $lsArgs $1 | sed $dirfilter | awk -F/ ' BEGIN { print "" } + # 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("[*/]$", "")