Skip Menu |
 

This queue is for tickets about the libwww-perl CPAN distribution.

Report information
The Basics
Id: 22051
Status: resolved
Priority: 0/
Queue: libwww-perl

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

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



Subject: LWP::Simple::mirror() returning a "500" for local errors.
Download (untitled) / with headers
text/plain 300b
LWP::Simple::mirror() returns a "500" status code if there was a local error. The one I observed was that the local file name length exceeded the filesystems path length limit. Pathological example: perl -MLWP::Simple -e 'print LWP::Simple::mirror("http://google.de/", "/tmp/".("x" x 10000))."\n";'
Download (untitled) / with headers
text/plain 505b
On Thu Oct 12 10:10:38 2006, SMUELLER wrote: Show quoted text
> LWP::Simple::mirror() returns a "500" status code if there was a local > error. The one I observed was that the local file name length exceeded > the filesystems path length limit. > > Pathological example: > > perl -MLWP::Simple -e 'print LWP::Simple::mirror("http://google.de/", > "/tmp/".("x" x 10000))."\n";'
This special case seems to be fixed now. With LWP 5.830 I get a long error message containing "...: File name too long". Regards, Slaven


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.