diff options
author | bbaetz%student.usyd.edu.au <> | 2002-07-03 09:45:12 +0000 |
---|---|---|
committer | bbaetz%student.usyd.edu.au <> | 2002-07-03 09:45:12 +0000 |
commit | 690839509f1ce985205824e8092d5893a2130ba6 (patch) | |
tree | 685d29eadb93a74bf85cb81e48c37cd116a438d8 /CGI.pl | |
parent | 8f0251144e71826cd4f22999c448102848fb95f6 (diff) | |
download | bugs-690839509f1ce985205824e8092d5893a2130ba6.tar bugs-690839509f1ce985205824e8092d5893a2130ba6.tar.gz bugs-690839509f1ce985205824e8092d5893a2130ba6.tar.bz2 bugs-690839509f1ce985205824e8092d5893a2130ba6.tar.xz bugs-690839509f1ce985205824e8092d5893a2130ba6.zip |
Bug 151871 - rewrite quoteUrls to fix major performance problems, and a
few other misc bugs too.
r=myk x2
Diffstat (limited to 'CGI.pl')
-rw-r--r-- | CGI.pl | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -792,8 +792,8 @@ Content-type: text/html if (!defined $nexturl || $nexturl eq "") { # Sets nexturl to be argv0, stripping everything up to and # including the last slash (or backslash on Windows). - $0 =~ m:[^/\\]*$:; - $nexturl = $&; + $0 =~ m:([^/\\]*)$:; + $nexturl = $1; } my $method = "POST"; # We always want to use POST here, because we're submitting a password and don't |