Compare commits

..

3 commits

Author SHA1 Message Date
Ell
60d52d7f7f explicitly start the query string with a ? 2024-07-02 00:14:24 +02:00
Ell
058960c121 escape question marks 2024-07-02 00:04:57 +02:00
Ell
e8395a8b9e more robust rewrite conditions for feedback form 2024-07-01 23:56:33 +02:00

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]