X-Git-Url: http://www.dxcluster.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=perl%2FMsg.pm;h=0af6791156f92b8c8e9698707fca33202ff3ae18;hb=2c3a20bdcef84e620b0c3c2d306a71ebe17956b0;hp=f5704a81e46eb237403f695383e7bd3307770dbf;hpb=433205ef66376e3eea543a07ab99321324409b02;p=spider.git diff --git a/perl/Msg.pm b/perl/Msg.pm index f5704a81..0af67911 100644 --- a/perl/Msg.pm +++ b/perl/Msg.pm @@ -237,7 +237,7 @@ FINISH: while (@lines){ $msg = shift @lines; - $msg =~ s/%([0-9A-Fa-f]{2})/chr(hex($1))/eg; + $msg =~ s/%([2-9A-F][0-9A-F])/chr(hex($1))/eg; &{$conn->{rcvd_notification_proc}}($conn, $msg, $!); $! = 0; }