Skip Menu |

This queue is for tickets about the Catalyst-Plugin-RequireSSL CPAN distribution.

Report information
The Basics
Id: 72071
Status: new
Priority: 0/
Queue: Catalyst-Plugin-RequireSSL

People
Owner: Nobody in particular
Requestors: william [...] canadiana.ca
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 0.06
Fixed in: (no value)



Under Catalyst 5.9, RequireSSL 0.06 no longer detects that it is running under the development server. This appears to be due to the fact that $c->engine is now reporting Catalyst::Engine and not Catalyst::Engine::HTTP. This is the same as when running under FastCGI. Changing line 67 (in version 0.06) to the following resolves the problem in our environment: if ( $c->engine =~ /Catalyst::Engine::HTTP/ || $0 =~ /_server\.pl$/) { I don't know if this is the best fix, but it doesn't seem as though $c->engine can be used to differentiate between MYAPP_server.pl and FastCGI anymore. Tested in: Perl 5.10.0, 5.12.3 in OSX (Darwin 11.2.0)