summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xPorting/Maintainers.pl2
-rw-r--r--cpan/CGI/Changes11
-rw-r--r--cpan/CGI/lib/CGI.pm17
-rw-r--r--pod/perldelta.pod4
4 files changed, 23 insertions, 11 deletions
diff --git a/Porting/Maintainers.pl b/Porting/Maintainers.pl
index f6b0800b90..2eba887458 100755
--- a/Porting/Maintainers.pl
+++ b/Porting/Maintainers.pl
@@ -308,7 +308,7 @@ use File::Glob qw(:case);
'CGI' =>
{
'MAINTAINER' => 'lstein',
- 'DISTRIBUTION' => 'MARKSTOS/CGI.pm-3.51.tar.gz',
+ 'DISTRIBUTION' => 'MARKSTOS/CGI.pm-3.52.tar.gz',
'FILES' => q[cpan/CGI],
'EXCLUDED' => [ qr{^t/lib/Test},
qw( cgi-lib_porting.html
diff --git a/cpan/CGI/Changes b/cpan/CGI/Changes
index 0647ef530d..565905ef89 100644
--- a/cpan/CGI/Changes
+++ b/cpan/CGI/Changes
@@ -1,3 +1,14 @@
+Version 3.52
+
+ [DOCUMENTATION]
+ - The documentation for multi-line header handling was been updated to reflect
+ the changes in 3.51. (Mark Stosberg, ntyni@iki.fi)
+
+ [INTERNALS]
+ - Add missing t/tmpfile.t file. (RT#64949)
+ - Fix warning in t/cookie.t (RT#64570, Chris Williams, Rainer Tammer, Mark Stosberg)
+ - Fixed logic bug in t/multipart_init.t (RT#64261, Niko Tyni)
+
Version 3.51
[NEW FEATURES]
diff --git a/cpan/CGI/lib/CGI.pm b/cpan/CGI/lib/CGI.pm
index d320d7f3a9..eed7e6b5ee 100644
--- a/cpan/CGI/lib/CGI.pm
+++ b/cpan/CGI/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.51';
+$CGI::VERSION='3.52';
# HARD-CODED LOCATION FOR FILE UPLOAD TEMPORARY FILES.
# UNCOMMENT THIS ONLY IF YOU KNOW WHAT YOU'RE DOING.
@@ -5293,17 +5293,14 @@ In either case, the outgoing header will be formatted as:
P3P: policyref="/w3c/p3p.xml" cp="CAO DSP LAW CURa"
-Note that if a header value contains a carriage return, a leading space will be
-added to each new line that doesn't already have one as specified by RFC2616
-section 4.2. For example:
+CGI.pm will accept valid multi-line headers when each line is separated with a
+CRLF value ("\r\n" on most platforms) followed by at least one space. For example:
- print header( -ingredients => "ham\neggs\nbacon" );
+ print header( -ingredients => "ham\r\n\seggs\r\n\sbacon" );
-will generate
-
- Ingredients: ham
- eggs
- bacon
+Invalid multi-line header input will trigger in an exception. When multi-line headers
+are received, CGI.pm will always output them back as a single line, according to the
+folding rules of RFC 2616: the newlines will be removed, while the white space remains.
=head2 GENERATING A REDIRECTION HEADER
diff --git a/pod/perldelta.pod b/pod/perldelta.pod
index 61957d6560..6cd2bdc2bb 100644
--- a/pod/perldelta.pod
+++ b/pod/perldelta.pod
@@ -96,6 +96,10 @@ XXX
=item *
+C<CGI> has been upgraded from version 3.51 to 3.52
+
+=item *
+
C<Module::Build> has been upgraded from version 0.3607 to 0.3622.
A notable change is the deprecation of several modules.