Skip Menu |

This queue is for tickets about the HTTP-Message CPAN distribution.

Report information
The Basics
Id: 78062
Status: resolved
Priority: 0/
Queue: HTTP-Message

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

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

Subject: use of uninitialized var in substitution.
Download (untitled) / with headers
text/plain 544b
In HTTP::Request::Common there's this code: # HTML/4.01 says that line breaks are represented as "CR LF" pairs (i.e., `%0D%0A') $content =~ s/(?<!%0D)%0A/%0D%0A/g; But, it's possible that $content is undefined. This happens, for example, when an empty array ref is passed as the second parameter to POST (WWW::Mechanize does that when posting a form with no fields i.e. $mech->submit_form( fields => {} ); warnings are not on by default (should they be?), but this shows up when running "make test" for example.

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

Please report any issues with to