Explorar o código

Issue #2446 : Fix passing authentication headers (#2449)

* Issue #2446 : Fix passing authentication headers. Use CGIPassAuth is version is high enough

* Issue #2446 : Remove CGIPassAuth due to potential issues with AllowOverride rights.

* Tabs
Nick Cross %!s(int64=6) %!d(string=hai) anos
pai
achega
1aa2af9752
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      p/api/.htaccess

+ 1 - 1
p/api/.htaccess

@@ -1,5 +1,5 @@
 <IfModule mod_setenvif.c>
-	SetEnvIfNoCase "^Authorization$" "(.*)" HTTP_AUTHORIZATION=$1
+	SetEnvIfNoCase "Authorization" "(.*)" HTTP_AUTHORIZATION=$1
 </IfModule>
 <IfModule !mod_setenvif.c>
 	<IfModule mod_rewrite.c>