Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Plack CPAN distribution.

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

People
Owner:
Nobody in particular
Requestors:
jay [...] purplewire.com
Cc:
AdminCc:

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



Subject: warning on undef PATH_INFO in Plack::Handler::Apache2
Date: Wed, 18 Aug 2010 10:10:34 -0400
To: bug-Plack@rt.cpan.org
From: jay mortensen <jay@purplewire.com>
apache 2.2.3 perl 5.8.8 Plack-0.9944-4Xtn2X from cpan in the cases where apache2 PATH_INFO is "empty" as described in http://gist.github.com/187070, it's actually undef rather than '', so the concatenation operator in Plack::Handler::Apache2 line 80 throws a warning that fills up my error_log Use of uninitialized value in concatenation (.) or string at /usr/lib/perl5/site_perl/5.8.8/Plack/Handler/Apache2.pm line 80. i think the fix is simple, something like: my $vpath = $env->{SCRIPT_NAME} . ($env->{PATH_INFO} || ''); regards, jay -- We can lick gravity, but sometimes the paperwork is overwhelming. - Wernher von Braun /////////////////////////////////////////////////////////////// Jay Mortensen (315) 234-0079 x303 Chief Technology Officer jay@purplewire.com Purplewire http://www.purplewire.com/ ///////////////////////////////////////////////////////////////


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.