Skip Menu |

This queue is for tickets about the Net-Google-SafeBrowsing-Blocklist CPAN distribution.

Report information
The Basics
Id: 52020
Status: new
Priority: 0/
Queue: Net-Google-SafeBrowsing-Blocklist

People
Owner: Nobody in particular
Requestors: robbat2 [...] gentoo.org
Cc:
AdminCc:

Bug Information
Severity: Critical
Broken in: 1.04
Fixed in: (no value)



Subject: t/01-canonicalization.t fails on http://..google..com../ with URI-1.5x
v5.8.8/amd64. Show quoted text
>>> Source compiled.
make -j4 -l7 test TEST_VERBOSE=0 PERL_DL_NONLAZY=1 /usr/bin/perl5.8.8 "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/00-load.t .............. 1/1 # Testing Net::Google::SafeBrowsing::Blocklist 1.04, Perl 5.008008, /usr/bin/perl5.8.8 t/00-load.t .............. ok t/01-canonicalization.t .. # Testing IP address canonicalization... # Canonicalize IP '12.0x12.01234' => '12.18.2.156' t/01-canonicalization.t .. 1/21 # Canonicalize IP '167838211' => '10.1.2.3' # Canonicalize IP '276.2.3' => '20.2.3.0' # Canonicalize IP '1.2.3.4' => '1.2.3.4' # Canonicalize IP '0x10000000b' => '0.0.0.11' # Canonicalize IP '0x12.0x43.0x44.0x01' => '18.67.68.1' # Canonicalize IP '012.034.01.055' => '10.28.1.45' # URI escape 'http://..google..com../' => 'http://google.com/' Label empty at /usr/lib64/perl5/vendor_perl/5.8.8/URI/_server.pm line 24 # Looks like you planned 21 tests but ran 7. # Looks like your test exited with 255 just after 7. t/01-canonicalization.t .. Dubious, test returned 255 (wstat 65280, 0xff00) Failed 14/21 subtests t/pod.t .................. ok Trying a simple testcase of: print Net::Google::SafeBrowsing::Blocklist::canonicalized_http_uri('http://..google..com../', \$ip, \@host_parts, \@path, \$qry); Gets me: Label empty at /usr/lib64/perl5/vendor_perl/5.8.8/URI/_server.pm line 24