mirror of
https://gitlab.com/tildes/tildes.git
synced 2026-04-16 06:18:34 +02:00
Exclude forums.terraria.org from url transforms
This forum uses the same invalid url scheme as the Paradox forums, so needs to be excluded as well.
This commit is contained in:
@@ -47,8 +47,8 @@ def _is_exempt_from_transformations(parsed_url: ParseResult) -> bool:
|
||||
if not parsed_url.hostname:
|
||||
return True
|
||||
|
||||
# Paradox forums use an invalid url scheme that will break if processed
|
||||
if parsed_url.hostname == "forum.paradoxplaza.com":
|
||||
# Paradox and Terraria forums use an invalid url scheme that will break if processed
|
||||
if parsed_url.hostname in ("forum.paradoxplaza.com", "forums.terraria.org"):
|
||||
return True
|
||||
|
||||
return False
|
||||
|
||||
Reference in New Issue
Block a user