Selaa lähdekoodia

Merge pull request #2235 from Alkarex/case_insensitive_authorisation

Case insensitive Authorization
Alexandre Alapetite 7 vuotta sitten
vanhempi
commit
44dab04a4a
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      p/api/.htaccess

+ 1 - 1
p/api/.htaccess

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