diff options
Diffstat (limited to 'scripts/dirlist.cgi.in')
-rwxr-xr-x | scripts/dirlist.cgi.in | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/dirlist.cgi.in b/scripts/dirlist.cgi.in index 796bbc4..8f11cdd 100755 --- a/scripts/dirlist.cgi.in +++ b/scripts/dirlist.cgi.in @@ -34,7 +34,7 @@ $query = $ENV{'QUERY_STRING'}; $cmd = ''; $cgi = 0; if ($query eq '') { - $_ = `pwd`; + $_ = `pwd`; # insecure? chop; s/\r$//; $dir = $_; @@ -54,7 +54,7 @@ if ($query eq '') { $dir = $query; if (($dir !~ m@^/@) && ($WIN32 && $dir !~ /^[a-z]:/i)) { - $_ = `pwd`; + $_ = `pwd`; # insecure? chop; s/\r$//; $dir = "$_/$dir"; |