Jelajahi Sumber

Merge pull request #2235 from Alkarex/case_insensitive_authorisation

Case insensitive Authorization
Alexandre Alapetite 7 tahun lalu
induk
melakukan
44dab04a4a
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  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>