syncthing: Use exact matches when enforcing trailing '/'

Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
This commit is contained in:
Sunil Mohan Adapa 2019-01-04 22:27:01 -08:00 committed by James Valleroy
parent 7cf279ccd0
commit 8dbf73d3f5
No known key found for this signature in database
GPG Key ID: 77C0C75E7B650808

View File

@ -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$