Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

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

Report information
The Basics
Id:
78062
Status:
resolved
Priority:
Low/Low
Queue:

People
Owner:
Nobody in particular
Requestors:
mods [...] hank.org
Cc:
AdminCc:

BugTracker
Severity:
Normal
Broken in:
6.03
Fixed in:
(no value)



Subject: use of uninitialized var in substitution.
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 runs on Request Tracker, is sponsored by The Perl Foundation, and maintained by Best Practical Solutions.

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