syncthing: Use exact matches when enforcing trailing '/'

Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
This commit is contained in:
Sunil Mohan Adapa authored and James Valleroy committed 2019-01-06 17:58:10 -05:00
1 parent 7cf279ccd0
commit 8dbf73d3f5
1 file changed
+1 -1
@@ -6,7 +6,7 @@
# work without a slash at the end.
<Location /syncthing>
<Location ~ ^/syncthing$>
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{REQUEST_URI} ^/syncthing$