Explorar el Código

Merge pull request #2235 from Alkarex/case_insensitive_authorisation

Case insensitive Authorization
Alexandre Alapetite hace 7 años
padre
commit
44dab04a4a
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      p/api/.htaccess

+ 1 - 1
p/api/.htaccess

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