Skip to content

A free, self-hostable news aggregator…

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

Nick Cross1aa2af9752f7
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>