[Catalyst-commits] r10993 -
Catalyst-Runtime/5.80/trunk/lib/Catalyst/Engine
kmx at dev.catalyst.perl.org
kmx at dev.catalyst.perl.org
Tue Jul 28 15:26:46 GMT 2009
Author: kmx
Date: 2009-07-28 15:26:44 +0000 (Tue, 28 Jul 2009)
New Revision: 10993
Modified:
Catalyst-Runtime/5.80/trunk/lib/Catalyst/Engine/FastCGI.pm
Log:
C::Engine::FastCGI (_fix_env) - Microsoft IIS on Windows 2008 R2 has version string "IIS/7.5" that was not supported; this patch makes test condition more general, accepting versions from IIS/6.0 to IIS/9.9 (should be enough for a while)
Modified: Catalyst-Runtime/5.80/trunk/lib/Catalyst/Engine/FastCGI.pm
===================================================================
--- Catalyst-Runtime/5.80/trunk/lib/Catalyst/Engine/FastCGI.pm 2009-07-27 16:14:45 UTC (rev 10992)
+++ Catalyst-Runtime/5.80/trunk/lib/Catalyst/Engine/FastCGI.pm 2009-07-28 15:26:44 UTC (rev 10993)
@@ -235,7 +235,7 @@
$env->{PATH_INFO} ||= delete $env->{SCRIPT_NAME};
}
# Fix the environment variables PATH_INFO and SCRIPT_NAME when running under IIS
- elsif ( $env->{SERVER_SOFTWARE} =~ /IIS\/[67].0/ ) {
+ elsif ( $env->{SERVER_SOFTWARE} =~ /IIS\/[6-9]\.[0-9]/ ) {
my @script_name = split(m!/!, $env->{PATH_INFO});
my @path_translated = split(m!/|\\\\?!, $env->{PATH_TRANSLATED});
my @path_info;
More information about the Catalyst-commits
mailing list