mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-05-20 10:34:30 +00:00
syncthing: Use exact matches when enforcing trailing '/'
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
This commit is contained in:
parent
7cf279ccd0
commit
8dbf73d3f5
@ -6,7 +6,7 @@
|
|||||||
# work without a slash at the end.
|
# work without a slash at the end.
|
||||||
|
|
||||||
|
|
||||||
<Location /syncthing>
|
<Location ~ ^/syncthing$>
|
||||||
<IfModule mod_rewrite.c>
|
<IfModule mod_rewrite.c>
|
||||||
RewriteEngine On
|
RewriteEngine On
|
||||||
RewriteCond %{REQUEST_URI} ^/syncthing$
|
RewriteCond %{REQUEST_URI} ^/syncthing$
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user