Permalink
Browse files

work around overly strict :16() base conversion

  • Loading branch information...
1 parent a9d8b6d commit 29d25c3eff3d55140a24c5c87dac06df52f0ba07 @moritz moritz committed Mar 30, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/LWP/Simple.pm
View
@@ -111,7 +111,7 @@ method decode_chunked (@content) {
# Chunk length is hex and could contain
# chunk-extensions (RFC2616, 3.6.1). Ex.: '5f32; xxx=...'
if $length ~~ m/^ \w+ / {
- $length = :16($length);
+ $length = :16(~$length);
} else {
last;
}

0 comments on commit 29d25c3

Please sign in to comment.