[libemail-address-perl] 01/03: Security fix: Set default level for nested comments to 1

Mike Gabriel sunweaver at debian.org
Wed Sep 30 03:52:35 UTC 2015


This is an automated email from the git hooks/post-receive script.

sunweaver pushed a commit to branch squeeze
in repository libemail-address-perl.

commit e5da7ee718371c5e37e0181dec034fbca31e8529
Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
Date:   Wed Sep 30 05:47:40 2015 +0200

    Security fix: Set default level for nested comments to 1
    
     Origin: https://github.com/rjbs/Email-Address/commit/3056b7da4fffbce9ad92f9799fffc587ab40303d
    
     v1: Ricardo Signes <rjbs at cpan.org>
     v2: Backported to v1.889 by Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
---
 lib/Email/Address.pm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lib/Email/Address.pm b/lib/Email/Address.pm
index 61c5e95..737f969 100644
--- a/lib/Email/Address.pm
+++ b/lib/Email/Address.pm
@@ -11,7 +11,7 @@ use vars qw[$VERSION $COMMENT_NEST_LEVEL $STRINGIFY
 my $NOCACHE;
 
 $VERSION              = '1.889';
-$COMMENT_NEST_LEVEL ||= 2;
+$COMMENT_NEST_LEVEL ||= 1;
 $STRINGIFY          ||= 'format';
 $COLLAPSE_SPACES      = 1 unless defined $COLLAPSE_SPACES; # who wants //=? me!
 
@@ -160,7 +160,7 @@ in the input string.
 
 The specification for an email address allows for infinitley
 nestable comments. That's nice in theory, but a little over done.
-By default this module allows for two (C<2>) levels of nested
+By default this module allows for one (C<1>) level of nested
 comments. If you think you need more, modify the
 C<$Email::Address::COMMENT_NEST_LEVEL> package variable to allow
 more.

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libemail-address-perl.git



More information about the Pkg-perl-cvs-commits mailing list