more robust rewrite conditions for feedback form

This commit is contained in:
Ell 2024-07-01 23:56:33 +02:00
parent 89fca8603e
commit e8395a8b9e

View file

@ -26,8 +26,8 @@ RewriteRule ^devlogs/?$ "#devlogs" [R=301,L,NE]
RewriteRule ^roadmap/?$ "#roadmap" [R=301,L,NE]
RewriteRule ^community/?$ "#community-showcase" [R=301,L,NE]
# permanent redirects
RewriteCond %{QUERY_STRING} "(?=.*ver=([^&]*))?(?=.*log=([^&]*))?"
# bugreport and feedback form replacements
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]