Open
Description
Hello,
We just recently encountered the following problem:
canonicalize_url('https://тест.тест:33')
which returns
https://xn--e1aybc.xn--:33-qdd4dec/
while the expected value is
https://xn--e1aybc.xn--e1aybc:33/
And that happens to every hostname that required IDNA encoding for their TLD.
Could you please fix this behavior?