Fix for Plack::Handler::FCGI and Catalist::Authentication::Credential::HTTP #310

Merged
merged 1 commit into from Jul 18, 2012
@@ -133,6 +133,10 @@ sub run {
$env->{PATH_INFO} = '';
}
+ if (defined(my $HTTP_AUTHORIZATION = $env->{Authorization})) {
+ $env->{HTTP_AUTHORIZATION} = $HTTP_AUTHORIZATION;
+ }
+
my $res = Plack::Util::run_app $app, $env;
if (ref $res eq 'ARRAY') {