diff options
author | Christian Ruppert <idl0r@gentoo.org> | 2011-08-15 18:26:30 +0200 |
---|---|---|
committer | Christian Ruppert <idl0r@gentoo.org> | 2011-08-15 18:26:30 +0200 |
commit | fb591b0e16e10ddf7430ccbce3afc479bca85097 (patch) | |
tree | 67f90a1cd1f60e2599f36aab8be5e5465296eaf7 /lib | |
parent | Update to 4.0.1 (diff) | |
download | bugzilla-fb591b0e16e10ddf7430ccbce3afc479bca85097.tar.gz bugzilla-fb591b0e16e10ddf7430ccbce3afc479bca85097.tar.bz2 bugzilla-fb591b0e16e10ddf7430ccbce3afc479bca85097.zip |
Update to 4.0.2
Diffstat (limited to 'lib')
-rw-r--r-- | lib/CGI.pm | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/lib/CGI.pm b/lib/CGI.pm index 5dffea98e..1d2ed8bc1 100644 --- a/lib/CGI.pm +++ b/lib/CGI.pm @@ -20,7 +20,7 @@ use Carp 'croak'; # The revision is no longer being updated since moving to git. $CGI::revision = '$Id: CGI.pm,v 1.266 2009/07/30 16:32:34 lstein Exp $'; -$CGI::VERSION='3.53'; +$CGI::VERSION='3.55'; # HARD-CODED LOCATION FOR FILE UPLOAD TEMPORARY FILES. # UNCOMMENT THIS ONLY IF YOU KNOW WHAT YOU'RE DOING. @@ -2856,7 +2856,6 @@ sub url { my $query_str = $self->query_string; my $rewrite_in_use = $request_uri && $request_uri !~ /^\Q$script_name/; - undef $path if $rewrite_in_use && $rewrite; # path not valid when rewriting active my $uri = $rewrite && $request_uri ? $request_uri : $script_name; $uri =~ s/\?.*$//s; # remove query string @@ -5653,9 +5652,7 @@ If Apache's mod_rewrite is turned on, then the script name and path info probably won't match the request that the user sent. Set -rewrite=>1 (default) to return URLs that match what the user sent (the original request URI). Set -rewrite=>0 to return URLs that match -the URL after mod_rewrite's rules have run. Because the additional -path information only makes sense in the context of the rewritten URL, --rewrite is set to false when you request path info in the URL. +the URL after mod_rewrite's rules have run. =back |