mirror of https://github.com/MISP/MISP
fix: [urls] allow for encoded spaces
- this has been haunting us for a whilepull/9153/head
parent
2ab3245ad4
commit
48c8357c00
|
@ -1,5 +1,5 @@
|
||||||
<IfModule mod_rewrite.c>
|
<IfModule mod_rewrite.c>
|
||||||
RewriteEngine on
|
RewriteEngine on
|
||||||
RewriteRule ^$ webroot/ [L]
|
RewriteRule ^$ webroot/ [B,L]
|
||||||
RewriteRule (.*) webroot/$1 [L]
|
RewriteRule (.*) webroot/$1 [B,L]
|
||||||
</IfModule>
|
</IfModule>
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
RewriteEngine On
|
RewriteEngine On
|
||||||
RewriteCond %{REQUEST_FILENAME} !-d
|
RewriteCond %{REQUEST_FILENAME} !-d
|
||||||
RewriteCond %{REQUEST_FILENAME} !-f
|
RewriteCond %{REQUEST_FILENAME} !-f
|
||||||
RewriteRule ^(.*)$ index.php?/$1 [QSA,L]
|
RewriteRule ^(.*)$ index.php?/$1 [QSA,L,B]
|
||||||
|
|
||||||
# Adds AUTH support to Rest Plugin:
|
# Adds AUTH support to Rest Plugin:
|
||||||
RewriteRule .* - [env=HTTP_AUTHORIZATION:%{HTTP:Authorization},last]
|
RewriteRule .* - [env=HTTP_AUTHORIZATION:%{HTTP:Authorization},last]
|
||||||
|
|
Loading…
Reference in New Issue