fix: [urls] allow for encoded spaces

- this has been haunting us for a while
pull/9153/head
iglocska 2023-06-19 07:54:08 +02:00
parent 2ab3245ad4
commit 48c8357c00
No known key found for this signature in database
GPG Key ID: BEA224F1FEF113AC
2 changed files with 4 additions and 4 deletions

View File

@ -1,5 +1,5 @@
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteRule ^$ webroot/ [L]
RewriteRule (.*) webroot/$1 [L]
</IfModule>
RewriteRule ^$ webroot/ [B,L]
RewriteRule (.*) webroot/$1 [B,L]
</IfModule>

View File

@ -2,7 +2,7 @@
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ index.php?/$1 [QSA,L]
RewriteRule ^(.*)$ index.php?/$1 [QSA,L,B]
# Adds AUTH support to Rest Plugin:
RewriteRule .* - [env=HTTP_AUTHORIZATION:%{HTTP:Authorization},last]