From 60d52d7f7f00a3ed865f1f4f581d0dacd0c9349d Mon Sep 17 00:00:00 2001 From: Ellpeck Date: Tue, 2 Jul 2024 00:14:24 +0200 Subject: [PATCH] explicitly start the query string with a ? --- web/.htaccess | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web/.htaccess b/web/.htaccess index e096beb..96a3bbc 100644 --- a/web/.htaccess +++ b/web/.htaccess @@ -27,7 +27,7 @@ RewriteRule ^roadmap/?$ "#roadmap" [R=301,L,NE] RewriteRule ^community/?$ "#community-showcase" [R=301,L,NE] # bugreport and feedback form replacements -RewriteCond %{QUERY_STRING} "^(?=.*[\?&]ver=([^\?&]*))?(?=.*[\?&]log=([^\?&]*))?" +RewriteCond ?%{QUERY_STRING} "^(?=.*[?&]ver=([^?&]*))?(?=.*[?&]log=([^?&]*))?" RewriteRule ^feedback "https://link.tinylifegame.com/form?usp=pp_url&entry.769753510=%1&entry.1339288296=Give+feedback+(Suggestions,+complaints+etc.)&entry.476139991=%2" [NE,R=301,L] -RewriteCond %{QUERY_STRING} "^(?=.*[\?&]ver=([^\?&]*))?(?=.*[\?&]log=([^\?&]*))?" +RewriteCond ?%{QUERY_STRING} "^(?=.*[?&]ver=([^?&]*))?(?=.*[?&]log=([^?&]*))?" RewriteRule ^bugreport "https://link.tinylifegame.com/form?usp=pp_url&entry.769753510=%1&entry.1339288296=Report+a+bug+(Crash,+error+notification+in-game+etc.)&entry.476139991=%2" [NE,R=301,L]