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:
Kevin Fenzi 2025-01-06 09:57:46 -08:00
parent eafcece0cf
commit acded5f1be
2 changed files with 2 additions and 2 deletions

View file

@ -1 +1 @@
Redirect 302 {{ path }} {{ target }}
Redirect 302 {{ path }} {{ target }}/

View file

@ -1,3 +1,3 @@
{% if redirectmatch_enabled %}
RedirectMatch {{ status }} {{ regex }} {{ target }}
RedirectMatch {{ status }} {{ regex }} {{ target }}/
{% endif %}