proxies / redirects: add trailing / to prevent unintended redirects
Without this you can get the redirect to redirect to another host. Not a super big problem, but definitely not intended. Hopefully just adding a tailing / will not break anything. Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This commit is contained in:
parent
eafcece0cf
commit
acded5f1be
2 changed files with 2 additions and 2 deletions
|
@ -1 +1 @@
|
|||
Redirect 302 {{ path }} {{ target }}
|
||||
Redirect 302 {{ path }} {{ target }}/
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
{% if redirectmatch_enabled %}
|
||||
RedirectMatch {{ status }} {{ regex }} {{ target }}
|
||||
RedirectMatch {{ status }} {{ regex }} {{ target }}/
|
||||
{% endif %}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue