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

Owner: Nobody in particular
Requestors: rrauenza [...]

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 [...]
From: "Richard J. Rauenzahn" <rrauenza [...]>
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 infrastructure.

Please report any issues with to