#4707 Added rewrite rule to htaccess to prevent issues with Bearer token being stripped by apache

This commit is contained in:
Joeri Timmermans 2016-10-12 12:43:55 +02:00
parent 99d586f0a2
commit 5df462eb7f

View file

@ -2,6 +2,9 @@ DirectoryIndex app.php
<IfModule mod_rewrite.c> <IfModule mod_rewrite.c>
RewriteEngine On RewriteEngine On
RewriteCond %{HTTP:Authorization} ^(.*)
RewriteRule .* - [e=HTTP_AUTHORIZATION:%1]
RewriteCond %{REQUEST_URI}::$1 ^(/.+)/(.*)::\2$ RewriteCond %{REQUEST_URI}::$1 ^(/.+)/(.*)::\2$
RewriteRule ^(.*) - [E=BASE:%1] RewriteRule ^(.*) - [E=BASE:%1]