Skip Menu |
 

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

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

People
Owner: Nobody in particular
Requestors: rrauenza [...] cup.hp.com
Cc:
AdminCc:

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



Subject: lwp-download doesn't allow _ (underscore) in filename
Date: Mon, 9 Apr 2007 17:05:26 -0700
To: bug-libwww-perl [...] rt.cpan.org
From: "Richard J. Rauenzahn" <rrauenza [...] cup.hp.com>
Download (untitled) / with headers
text/plain 511b
Is disallowing _'s in filenames intentional, or was it left out by accident in the regular expression? # validate that we don't have a harmful filename now. The server # might try to trick us into doing something bad. if (!length($file) || $file =~ s/([^a-zA-Z0-9\.\-\+\~])/sprintf "\\x%02x", ord($1)/ge) { die "Will not save <$url> as \"$file\".\nPlease override file name on the comman d line.\n"; }
Applied. In 5.806.


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.