Skip Menu |

This queue is for tickets about the File-Listing CPAN distribution.

Report information
The Basics
Id: 66592
Status: resolved
Priority: 0/
Queue: File-Listing

People
Owner: Nobody in particular
Requestors: sprout [...] cpan.org
Cc:
AdminCc:

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



Subject: File::Listing fails its tests
Date: Sun, 13 Mar 2011 14:53:05 -0700
To: libwww [...] perl.org, gaas [...] activestate.com, bug-File-Listing [...] rt.cpan.org
From: Father Chrysostomos <sprout [...] cpan.org>
First, it does not take into account HTTP-filtering software that returns its own specialised messages for pages that are off limits. Secondly, it is just asking to fail some time in the future when the URLs are no longer valid. Why not just include an Apache-style listing in the test? Oddly, since it uses LWP::Simple (and skips when it’s not available), I can install it without any problem if I am installing LWP from scratch. But if I have an old version installed, it fails its test. That just seems all backwards. :-) (Also File::Listing does not say where bugs should be reported.)
RT-Send-CC: gaas [...] activestate.com, libwww [...] perl.org
On Sun Mar 13 17:53:19 2011, sprout@cpan.org wrote: Show quoted text
> First, it does not take into account HTTP-filtering software that > returns its own specialised messages for pages that are off limits. > > Secondly, it is just asking to fail some time in the future when the > URLs are no longer valid. > > Why not just include an Apache-style listing in the test? > > Oddly, since it uses LWP::Simple (and skips when it’s not available), > I can install it without any problem if I am installing LWP from > scratch. But if I have an old version installed, it fails its test. > That just seems all backwards. :-) > > (Also File::Listing does not say where bugs should be reported.) >
I’ve just realised I was not specific enough. (I copied and pasted my own notes.) t/apache.t is failing behind a firewall that returns its own messages for sites that are off- limits. t/apache.t tries to read those messages as file listings and fails.
Fixed by <https://github.com/gisle/libwww- perl/commit/ca09a871874f685f4726b40a49ec10c0bcd8e393>