summaryrefslogtreecommitdiff
path: root/lib/CGI
diff options
context:
space:
mode:
authorSteve Peters <steve@fisharerojo.org>2006-10-03 15:36:55 +0000
committerSteve Peters <steve@fisharerojo.org>2006-10-03 15:36:55 +0000
commit0664a57d8d8db765643a0ef6294bbbd013a00df5 (patch)
treed270f79b5283f89319801930be444ac9b756b728 /lib/CGI
parent2db40e90730d5fd105e3f74faa4d22f352568b99 (diff)
downloadperl-0664a57d8d8db765643a0ef6294bbbd013a00df5.tar.gz
Upgrade to CGI.pm-3.25
p4raw-id: //depot/perl@28930
Diffstat (limited to 'lib/CGI')
-rw-r--r--lib/CGI/Changes14
-rw-r--r--lib/CGI/Util.pm2
2 files changed, 15 insertions, 1 deletions
diff --git a/lib/CGI/Changes b/lib/CGI/Changes
index 3d5b7124a2..23db2a2804 100644
--- a/lib/CGI/Changes
+++ b/lib/CGI/Changes
@@ -1,3 +1,17 @@
+ Version 3.25
+ 1. Fixed the link to the Netscape frames page.
+ 2. Added ability to specify an alternate stylesheet.
+
+ Version 3.24
+ 1. In startform(), if request_uri() returns undef, then falls back
+ to self_url(). This should rarely happen except when run outside of
+ the CGI environment.
+ 2. image button alignment options were mistakenly being capitalized, causing xhtml validation to fail.
+
+ Version 3.23
+ 1. Typo in upload() persisted, now fixed for real. Thanks to
+ Emanuele Zeppieri for correct patch and regression test.
+
Version 3.22
1. Typo in upload() function broke uploads. Now fixed (CPAN bug 21126).
diff --git a/lib/CGI/Util.pm b/lib/CGI/Util.pm
index 523007c5ef..b934916f78 100644
--- a/lib/CGI/Util.pm
+++ b/lib/CGI/Util.pm
@@ -261,7 +261,7 @@ sub expire_calc {
$offset = 0;
} elsif ($time=~/^\d+/) {
return $time;
- } elsif ($time=~/^([+-]?(?:\d+|\d*\.\d*))([mhdMy]?)/) {
+ } elsif ($time=~/^([+-]?(?:\d+|\d*\.\d*))([mhdMy])/) {
$offset = ($mult{$2} || 1)*$1;
} else {
return $time;