commit e4c377a9d55d1b66305a3caa12e009b274e2356d
parent e46706eaac0e1df30536c7d8f47d9fc6d61e76fa
Author: ukai <ukai>
Date: Fri, 21 Dec 2001 19:20:45 +0000
mark insecure
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git 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";