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>
|
||||
RewriteEngine on
|
||||
RewriteRule ^$ webroot/ [L]
|
||||
RewriteRule (.*) webroot/$1 [L]
|
||||
</IfModule>
|
||||
RewriteRule ^$ webroot/ [B,L]
|
||||
RewriteRule (.*) webroot/$1 [B,L]
|
||||
</IfModule>
|
||||
|
|
|
@ -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]
|
||||
|
|
Loading…
Reference in New Issue