Skip to content

Commit

Permalink
Issue FreshRSS#2446 : Fix passing authentication headers (FreshRSS#2449)
Browse files Browse the repository at this point in the history
* Issue FreshRSS#2446 : Fix passing authentication headers. Use CGIPassAuth is version is high enough

* Issue FreshRSS#2446 : Remove CGIPassAuth due to potential issues with AllowOverride rights.

* Tabs
  • Loading branch information
rnc authored and mdemoss committed Mar 25, 2021
1 parent 53b6c08 commit a5f58d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion p/api/.htaccess
Original file line number Diff line number Diff line change
@@ -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>
Expand Down

0 comments on commit a5f58d2

Please sign in to comment.