Fix URL normalization in conference check function

This commit is contained in:
Edward Betts 2024-10-23 12:06:41 +01:00
parent 3242a6ee6e
commit f7a59d4259

View file

@ -176,7 +176,7 @@ def check_conference_web_site(name: str, src_url: str, year: int) -> bool:
live, msg, redirect_to_url = check_conference(name, src_url, year)
url = src_url.format(year=year)
if live:
if redirect_to_url == url:
if redirect_to_url and normalize_url(redirect_to_url) == normalize_url(url):
body = f"{name}\n{url}\nWeb page title: {msg}"
else:
body = f"""{name}