Skip Menu |

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

Report information
The Basics
Id: 41412
Status: resolved
Priority: 0/
Queue: File-Fetch

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

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



Subject: User agent string contains uninterpolated $VERSION (fix suggested)
On my minicapn repository apache server log I found lines like: 10.10.1.148 - - [03/Dec/2008:21:33:20 +1100] "GET /minicpan/authors/id/I/IL/ILYAM/CHECKSUMS HTTP/1.1" 200 3455 "-" "File::Fetch/$VERSION" When looking at File/Fetch.pm line 31 it reads: $USER_AGENT = 'File::Fetch/$VERSION'; I think it can be fixed by replacing it with: $USER_AGENT = "File::Fetch/$VERSION"; or $USER_AGENT = 'File::Fetch/' . $VERSION; depending on your coding preferences. Thanks.
On Wed Dec 03 17:11:04 2008, AMOSS wrote: Show quoted text
> On my minicapn repository apache server log I found lines like: > > 10.10.1.148 - - [03/Dec/2008:21:33:20 +1100] "GET > /minicpan/authors/id/I/IL/ILYAM/CHECKSUMS HTTP/1.1" 200 3455 "-" > "File::Fetch/$VERSION"
Can't believe that slipped through! Fix applied. Thanks for reporting,