aboutsummaryrefslogtreecommitdiff
path: root/p/api
diff options
context:
space:
mode:
authorGravatar Nick Cross <github@goots.org> 2019-07-20 22:23:24 +0100
committerGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2019-07-20 23:23:24 +0200
commit1aa2af9752f7c1cb3a5753156900fc33bf9f2d2c (patch)
tree7d02a19de23a7e9d9fea5603c84b4c25e8f0866e /p/api
parente09cf3fc7145f3f43b55522aa10b9f0d9f3391ea (diff)
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
Diffstat (limited to 'p/api')
-rw-r--r--p/api/.htaccess2
1 files changed, 1 insertions, 1 deletions
diff --git a/p/api/.htaccess b/p/api/.htaccess
index 2bd6b1d14..dd3df0b4f 100644
--- a/p/api/.htaccess
+++ b/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>