Emark's DOMAIN
is not working correctly with naked domains (no www)
#97
Labels
bug
Something isn't working
DOMAIN
is not working correctly with naked domains (no www)
#97
Depending on if we are using naked or non-naked domain, the following piece acts differently:
emark/emark/message.py
Lines 119 to 121 in a844123
So, when I have
www.example.com
as EMARK["DOMAIN"],top_level_domain
is example.comHowever, when I use
example.com
as EMARK["DOMAIN"],top_level_domain
becomeshttps://example.com
That means, the tracking logic is always ignored, as
redirect_url_parts.netloc.endswith(top_level_domain)
is alwaysFalse
The text was updated successfully, but these errors were encountered: