summaryrefslogtreecommitdiffstats
path: root/CGI.pl
diff options
context:
space:
mode:
authorjake%acutex.net <>2001-06-19 08:13:18 +0200
committerjake%acutex.net <>2001-06-19 08:13:18 +0200
commit48cbec63fb09bdb6a135866e3de329e1cafaf904 (patch)
tree593a47dd2f78a40ff3a9112e7e25266286a2440e /CGI.pl
parent7de34a381387fefc06ff2ef2df1cfdb052ed521d (diff)
downloadbugzilla-48cbec63fb09bdb6a135866e3de329e1cafaf904.tar.gz
bugzilla-48cbec63fb09bdb6a135866e3de329e1cafaf904.tar.xz
Allow '\' as a path delimiter (bug 29064)
Patch Concept by <timeless@mac.com> r= jake@acutex.net
Diffstat (limited to 'CGI.pl')
-rw-r--r--CGI.pl4
1 files changed, 2 insertions, 2 deletions
diff --git a/CGI.pl b/CGI.pl
index 138e52414..efcf0c2ac 100644
--- a/CGI.pl
+++ b/CGI.pl
@@ -910,8 +910,8 @@ Content-type: text/html
}
if (!defined $nexturl || $nexturl eq "") {
# Sets nexturl to be argv0, stripping everything up to and
- # including the last slash.
- $0 =~ m:[^/]*$:;
+ # including the last slash (or backslash on Windows).
+ $0 =~ m:[^/\\]*$:;
$nexturl = $&;
}
my $method = "POST";