http icon indicating copy to clipboard operation
http copied to clipboard

Url: Host should end with dot which should be removed.

Open janbarasek opened this issue 4 years ago • 3 comments

  • new feature
  • BC break? yes

Domain https://google.com./abcd (host ending with dot) is valid URL, but it is same as https://google.com/abcd.

janbarasek avatar Apr 24 '21 14:04 janbarasek

So canonicalize() should be fixed, not constructor.

dg avatar Apr 25 '21 12:04 dg

@dg Moved. I thought canonize() should be deprecated (from the last version).

janbarasek avatar Apr 25 '21 12:04 janbarasek

Great. Probably the same applies to isEqual(). Can you also add test?

dg avatar Apr 25 '21 22:04 dg