Skip to content
This repository has been archived by the owner on Aug 31, 2023. It is now read-only.

Commit

Permalink
fix(htaccess): only pass authorization header to PHP if set
Browse files Browse the repository at this point in the history
  • Loading branch information
johannschopplich committed Sep 23, 2022
1 parent e2cf886 commit 04c2db2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion public/.htaccess
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
</IfModule>

# Pass the Authorization header to PHP.
SetEnvIf Authorization "(.*)" HTTP_AUTHORIZATION=$1
SetEnvIf Authorization "(.+)" HTTP_AUTHORIZATION=$1

# Security
# Remove the `X-Powered-By` response header providing server-side technology information.
Expand Down

0 comments on commit 04c2db2

Please sign in to comment.