Skip to content

Commit

Permalink
fix #247 - typo in passing of max-age to CGI::Cookie
Browse files Browse the repository at this point in the history
w/r/t 1d712e9. bump VERSION and Changes
for CPAN release
  • Loading branch information
leejo committed Jun 3, 2021
1 parent bee0f06 commit fd89501
Show file tree
Hide file tree
Showing 9 changed files with 14 additions and 9 deletions.
5 changes: 5 additions & 0 deletions Changes
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
4.53 2021-06-03

[ FIX ]
- fix typo in passing of max-age to CGI::Cookie (GH #247)

4.52 2021-05-04

[ FIX ]
Expand Down
4 changes: 2 additions & 2 deletions lib/CGI.pm
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ use strict;
use warnings;
#/;

$CGI::VERSION='4.52';
$CGI::VERSION='4.53';

use CGI::Util qw(rearrange rearrange_header make_attributes unescape escape expires ebcdic2ascii ascii2ebcdic);

Expand Down Expand Up @@ -2793,7 +2793,7 @@ sub cookie {
push(@param,'-expires'=>$expires) if $expires;
push(@param,'-secure'=>$secure) if $secure;
push(@param,'-httponly'=>$httponly) if $httponly;
push(@param,'-max_age'=>$max_age) if $max_age;
push(@param,'-max-age'=>$max_age) if $max_age;
push(@param,'-samesite'=>$samesite) if $samesite;

return CGI::Cookie->new(@param);
Expand Down
2 changes: 1 addition & 1 deletion lib/CGI/Carp.pm
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,7 @@ use File::Spec;

$main::SIG{__WARN__}=\&CGI::Carp::warn;

$CGI::Carp::VERSION = '4.52';
$CGI::Carp::VERSION = '4.53';
$CGI::Carp::CUSTOM_MSG = undef;
$CGI::Carp::DIE_HANDLER = undef;
$CGI::Carp::TO_BROWSER = 1;
Expand Down
2 changes: 1 addition & 1 deletion lib/CGI/Cookie.pm
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package CGI::Cookie;
use strict;
use warnings;

our $VERSION='4.52';
our $VERSION='4.53';

use CGI::Util qw(rearrange unescape escape);
use overload '""' => \&as_string, 'cmp' => \&compare, 'fallback' => 1;
Expand Down
2 changes: 1 addition & 1 deletion lib/CGI/File/Temp.pm
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# you use it directly and your code breaks horribly.
package CGI::File::Temp;

$CGI::File::Temp::VERSION = '4.52';
$CGI::File::Temp::VERSION = '4.53';

use parent File::Temp;
use parent Fh;
Expand Down
2 changes: 1 addition & 1 deletion lib/CGI/Pretty.pm
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ use warnings;

use CGI ();

$CGI::Pretty::VERSION = '4.52';
$CGI::Pretty::VERSION = '4.53';
$CGI::DefaultClass = __PACKAGE__;
@CGI::Pretty::ISA = qw( CGI );

Expand Down
2 changes: 1 addition & 1 deletion lib/CGI/Push.pm
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ use strict;
use warnings;
#/;

$CGI::Push::VERSION='4.52';
$CGI::Push::VERSION='4.53';
use CGI;
use CGI::Util 'rearrange';
@ISA = ('CGI');
Expand Down
2 changes: 1 addition & 1 deletion lib/CGI/Util.pm
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ use strict;
our @EXPORT_OK = qw(rearrange rearrange_header make_attributes unescape escape
expires ebcdic2ascii ascii2ebcdic);

our $VERSION = '4.52';
our $VERSION = '4.53';

our $_EBCDIC = "\t" ne "\011";

Expand Down
2 changes: 1 addition & 1 deletion lib/Fh.pm
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@ package Fh;
use strict;
use warnings;

$Fh::VERSION = '4.52';
$Fh::VERSION = '4.53';

1;

0 comments on commit fd89501

Please sign in to comment.