aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/dirlist.cgi.in
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/dirlist.cgi.in')
-rwxr-xr-xscripts/dirlist.cgi.in4
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";