Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

But isn't Chrome still doing the wrong thing when given https://foo.com:443?


No, because 443 is the default port for https, so it is reset to empty string.


I don't see anywhere in the spec where is says that's okay to do.


> 2. If buffer is equal to url's scheme's default port, set buffer to the empty string.


2. If buffer is equal to url's scheme's default port, set buffer to the empty string.


Second link in bzbarsky's post?




Consider applying for YC's Summer 2026 batch! Applications are open till May 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: