r20005 - in /branches/upstream/libcgi-simple-perl/current: Changes MANIFEST META.yml README SIGNATURE lib/CGI/Simple.pm lib/CGI/Simple/Cookie.pm lib/CGI/Simple/Standard.pm lib/CGI/Simple/Util.pm session.vim t/040.request.t
gregoa at users.alioth.debian.org
gregoa at users.alioth.debian.org
Fri May 16 13:30:36 UTC 2008
Author: gregoa
Date: Fri May 16 13:30:36 2008
New Revision: 20005
URL: http://svn.debian.org/wsvn/?sc=1&rev=20005
Log:
[svn-upgrade] Integrating new upstream version, libcgi-simple-perl (1.104)
Removed:
branches/upstream/libcgi-simple-perl/current/session.vim
Modified:
branches/upstream/libcgi-simple-perl/current/Changes
branches/upstream/libcgi-simple-perl/current/MANIFEST
branches/upstream/libcgi-simple-perl/current/META.yml
branches/upstream/libcgi-simple-perl/current/README
branches/upstream/libcgi-simple-perl/current/SIGNATURE
branches/upstream/libcgi-simple-perl/current/lib/CGI/Simple.pm
branches/upstream/libcgi-simple-perl/current/lib/CGI/Simple/Cookie.pm
branches/upstream/libcgi-simple-perl/current/lib/CGI/Simple/Standard.pm
branches/upstream/libcgi-simple-perl/current/lib/CGI/Simple/Util.pm
branches/upstream/libcgi-simple-perl/current/t/040.request.t
Modified: branches/upstream/libcgi-simple-perl/current/Changes
URL: http://svn.debian.org/wsvn/branches/upstream/libcgi-simple-perl/current/Changes?rev=20005&op=diff
==============================================================================
--- branches/upstream/libcgi-simple-perl/current/Changes (original)
+++ branches/upstream/libcgi-simple-perl/current/Changes Fri May 16 13:30:36 2008
@@ -121,3 +121,8 @@
1.103 2007-07-31
- Version number chaos continues. One tends to forget that there
is a strange universe in which 1.1 > 1.1.2.
+
+1.104 2008-05-13
+ - Switched from sysread to read. Fixes #35844: sysread used in
+ CGI::Simple blocks on re-directed STDIO reads. Thanks to
+ Damjan Pelemis.
Modified: branches/upstream/libcgi-simple-perl/current/MANIFEST
URL: http://svn.debian.org/wsvn/branches/upstream/libcgi-simple-perl/current/MANIFEST?rev=20005&op=diff
==============================================================================
--- branches/upstream/libcgi-simple-perl/current/MANIFEST (original)
+++ branches/upstream/libcgi-simple-perl/current/MANIFEST Fri May 16 13:30:36 2008
@@ -8,7 +8,6 @@
MANIFEST
META.yml
README
-session.vim
t/000.load.t
t/020.cookie.t
t/030.function.t
Modified: branches/upstream/libcgi-simple-perl/current/META.yml
URL: http://svn.debian.org/wsvn/branches/upstream/libcgi-simple-perl/current/META.yml?rev=20005&op=diff
==============================================================================
--- branches/upstream/libcgi-simple-perl/current/META.yml (original)
+++ branches/upstream/libcgi-simple-perl/current/META.yml Fri May 16 13:30:36 2008
@@ -1,15 +1,15 @@
--- #YAML:1.0
name: CGI-Simple
-version: 1.103
+version: 1.104
abstract: A Simple totally OO CGI interface that is CGI.pm compliant
license: perl
-generated_by: ExtUtils::MakeMaker version 6.36
+author:
+ - Andy Armstrong <andy at hexten.net>
+generated_by: ExtUtils::MakeMaker version 6.44
distribution_type: module
requires:
Test::More: 0
version: 0
meta-spec:
- url: http://module-build.sourceforge.net/META-spec-v1.2.html
- version: 1.2
-author:
- - Andy Armstrong <andy at hexten.net>
+ url: http://module-build.sourceforge.net/META-spec-v1.3.html
+ version: 1.3
Modified: branches/upstream/libcgi-simple-perl/current/README
URL: http://svn.debian.org/wsvn/branches/upstream/libcgi-simple-perl/current/README?rev=20005&op=diff
==============================================================================
--- branches/upstream/libcgi-simple-perl/current/README (original)
+++ branches/upstream/libcgi-simple-perl/current/README Fri May 16 13:30:36 2008
@@ -1,4 +1,4 @@
-CGI-Simple version 1.103
+CGI-Simple version 1.104
INSTALLATION
Modified: branches/upstream/libcgi-simple-perl/current/SIGNATURE
URL: http://svn.debian.org/wsvn/branches/upstream/libcgi-simple-perl/current/SIGNATURE?rev=20005&op=diff
==============================================================================
--- branches/upstream/libcgi-simple-perl/current/SIGNATURE (original)
+++ branches/upstream/libcgi-simple-perl/current/SIGNATURE Fri May 16 13:30:36 2008
@@ -15,20 +15,19 @@
Hash: SHA1
SHA1 c897ea8a9762207b21b276e2472f7d49d7798d51 Build.PL
-SHA1 e3cb06709b43915f060c57e119c5debf5c39b5d2 Changes
-SHA1 ca526bacb7202225e7d20a57f8cebc6f789bfc5d MANIFEST
-SHA1 ece48378f440469c62c6a1f88eb036fea3564d72 META.yml
+SHA1 ec7bdf725e1c7ee38340b0c96dce748972e66c79 Changes
+SHA1 272aac2d53a00db88389fe37811899c77d62dc02 MANIFEST
+SHA1 d497d0e7f3502bbdd302dc00e536dd77e849b35a META.yml
SHA1 56a4a0bdc219dc6b2b7569b063cdfef18ad2f6a3 Makefile.PL
-SHA1 8c76b1a5e98175c9d7a212069e765c8232af733f README
-SHA1 a0faab5b3934f163bbcd560b80eb4bff1cabf285 lib/CGI/Simple.pm
-SHA1 9507da95e9a94927c9bcdfffe4cf956c9279361c lib/CGI/Simple/Cookie.pm
-SHA1 0e79f9fe1178a46ba38563cfb1fcc8d110ea5f0e lib/CGI/Simple/Standard.pm
-SHA1 785a1c9cd3ee49dc25f8ed92c55ef648e4e581bf lib/CGI/Simple/Util.pm
-SHA1 22a71e0c8ebe9d134a07ded75364b183bd439da4 session.vim
+SHA1 c052377e210834fe0241fddc21bc507e8d66a5a9 README
+SHA1 bd11525e4ea5bb3cfff26bec98f314d9f13f7a64 lib/CGI/Simple.pm
+SHA1 6cba59d29baaac6dc3b8cc53f3173c1914c9606d lib/CGI/Simple/Cookie.pm
+SHA1 0aae28607409cce701bec3fa3947c132ac08aebb lib/CGI/Simple/Standard.pm
+SHA1 ba386c609833156806d825173dba3418ef4cbba2 lib/CGI/Simple/Util.pm
SHA1 7953ca03348ec35b5572142f00f09940ed564839 t/000.load.t
SHA1 022782db9945503b80459f93f74a3dd27c28a64c t/020.cookie.t
SHA1 e9130aee8ee8b84292876acc4fe89377db98c6c9 t/030.function.t
-SHA1 fd2152b7491c953300bbb11b609a43ed686d5d5d t/040.request.t
+SHA1 b56416f5b972ae82b558dfaf88f4dc150f50084c t/040.request.t
SHA1 edacd71a7cc4b355847264c052d43a1efb17905d t/050.simple.t
SHA1 ba9df5159bcb85a13f0926e3cf89250f4f0613a0 t/060.slow_post.t
SHA1 18d4c2c6dea777cddfcda15a6a426251d29f6c19 t/070.standard.t
@@ -38,9 +37,9 @@
SHA1 e26819308faea3dd3bc69e6fb8c1ef4e3baf4e72 t/pod-coverage.t
SHA1 0190346d7072d458c8a10a45c19f86db641dcc48 t/pod.t
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.7 (Darwin)
+Version: GnuPG v1.4.8 (Darwin)
-iD8DBQFGrpm+woknRJZQnCERAixHAJ9ef77F67lc0dHyW5B7eHiZmHb3NwCgh/cL
-b7Na10boQgguxRjQieaCs+M=
-=NtTu
+iEYEARECAAYFAkgpt08ACgkQwoknRJZQnCH/AwCfREHSd0UtFmBt2KsHanfkca8X
+siMAn0qtg6Cm0aqcQLPamxllO0I1XLuL
+=MQ5J
-----END PGP SIGNATURE-----
Modified: branches/upstream/libcgi-simple-perl/current/lib/CGI/Simple.pm
URL: http://svn.debian.org/wsvn/branches/upstream/libcgi-simple-perl/current/lib/CGI/Simple.pm?rev=20005&op=diff
==============================================================================
--- branches/upstream/libcgi-simple-perl/current/lib/CGI/Simple.pm (original)
+++ branches/upstream/libcgi-simple-perl/current/lib/CGI/Simple.pm Fri May 16 13:30:36 2008
@@ -14,7 +14,7 @@
$NPH $DEBUG $NO_NULL $FATAL *in
);
-$VERSION = "1.103";
+$VERSION = "1.104";
# you can hard code the global variable settings here if you want.
# warning - do not delete the unless defined $VAR part unless you
@@ -299,7 +299,7 @@
$r->read( $$buffer, $len );
}
else {
- sysread( STDIN, $$buffer, $len );
+ read( STDIN, $$buffer, $len );
}
}
@@ -1407,7 +1407,7 @@
=head1 VERSION
-This document describes CGI::Simple version 1.103.
+This document describes CGI::Simple version 1.104.
=head1 SYNOPSIS
@@ -3580,7 +3580,6 @@
import
_reset_globals
new
- DESTROY
_initialize
_read_parse
_parse_params
Modified: branches/upstream/libcgi-simple-perl/current/lib/CGI/Simple/Cookie.pm
URL: http://svn.debian.org/wsvn/branches/upstream/libcgi-simple-perl/current/lib/CGI/Simple/Cookie.pm?rev=20005&op=diff
==============================================================================
--- branches/upstream/libcgi-simple-perl/current/lib/CGI/Simple/Cookie.pm (original)
+++ branches/upstream/libcgi-simple-perl/current/lib/CGI/Simple/Cookie.pm Fri May 16 13:30:36 2008
@@ -12,7 +12,7 @@
use strict;
use vars '$VERSION';
-$VERSION = '1.103';
+$VERSION = '1.104';
use CGI::Simple::Util qw(rearrange unescape escape);
use overload '""' => \&as_string, 'cmp' => \&compare, 'fallback' => 1;
Modified: branches/upstream/libcgi-simple-perl/current/lib/CGI/Simple/Standard.pm
URL: http://svn.debian.org/wsvn/branches/upstream/libcgi-simple-perl/current/lib/CGI/Simple/Standard.pm?rev=20005&op=diff
==============================================================================
--- branches/upstream/libcgi-simple-perl/current/lib/CGI/Simple/Standard.pm (original)
+++ branches/upstream/libcgi-simple-perl/current/lib/CGI/Simple/Standard.pm Fri May 16 13:30:36 2008
@@ -7,7 +7,7 @@
$NO_UNDEF_PARAMS $USE_PARAM_SEMICOLONS $HEADERS_ONCE
$NPH $DEBUG $NO_NULL $FATAL *in %EXPORT_TAGS $AUTOLOAD );
-$VERSION = "1.103";
+$VERSION = "1.104";
%EXPORT_TAGS = (
':html' => [qw(:misc)],
Modified: branches/upstream/libcgi-simple-perl/current/lib/CGI/Simple/Util.pm
URL: http://svn.debian.org/wsvn/branches/upstream/libcgi-simple-perl/current/lib/CGI/Simple/Util.pm?rev=20005&op=diff
==============================================================================
--- branches/upstream/libcgi-simple-perl/current/lib/CGI/Simple/Util.pm (original)
+++ branches/upstream/libcgi-simple-perl/current/lib/CGI/Simple/Util.pm Fri May 16 13:30:36 2008
@@ -1,7 +1,7 @@
package CGI::Simple::Util;
use strict;
use vars qw( $VERSION @EXPORT_OK @ISA $UTIL );
-$VERSION = '1.103';
+$VERSION = '1.104';
require Exporter;
@ISA = qw( Exporter );
@EXPORT_OK = qw(
Modified: branches/upstream/libcgi-simple-perl/current/t/040.request.t
URL: http://svn.debian.org/wsvn/branches/upstream/libcgi-simple-perl/current/t/040.request.t?rev=20005&op=diff
==============================================================================
--- branches/upstream/libcgi-simple-perl/current/t/040.request.t (original)
+++ branches/upstream/libcgi-simple-perl/current/t/040.request.t Fri May 16 13:30:36 2008
@@ -2,7 +2,7 @@
# The only change is to change the use statement and change references
# from CGI to CGI::Simple
-use Test::More tests => 38;
+use Test::More tests => 40;
use strict;
use warnings;
use Config;
@@ -173,6 +173,22 @@
is($q->param('POSTDATA'), $test_string, "CGI::Simple::param('POSTDATA') from POST");
+ # test posting POSTDATA with nulls
+ $q->_reset_globals;
+ $test_string = "some nulls \0\0\0 are better than others \0\0\0";
+ $ENV{REQUEST_METHOD} = 'POST';
+ $ENV{CONTENT_LENGTH} = length($test_string);
+ $ENV{QUERY_STRING} = '';
+ $ENV{CONTENT_TYPE} = 'text/plain';
+ if (open(CHILD,"|-")) { # cparent
+ print CHILD $test_string;
+ close CHILD;
+ exit 0;
+ }
+ ok($q = new CGI::Simple, "CGI::Simple::new from POST");
+
+ is($q->param('POSTDATA'), $test_string, "CGI::Simple::param('POSTDATA') from POST w/nulls");
+
# test posting PUTDATA
$q->_reset_globals;
$test_string = '<put><game>soccer</game><game>baseball</game><weather>nice</weather></put>';
More information about the Pkg-perl-cvs-commits
mailing list