This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
http://url.spec.whatwg.org/#host-parsing [[ While c is an ASCII digit, set value to value × 10 + c interpreted as decimal number and increase pointer by one. ]] Should this be limited to three digits, or is this valid? http://[::127.0.0.00000001]/ In fact, is any non-significant zero prefix allowed?
Per the URI RFC it is not allowed. In fact, that only allows 0-9 or 1-9 followed by 0-9 or 1 followed by 0-9 followed by 0-9 or 2 followed by 0-4 followed by 0-9 or 2 followed by 5 followed by 0-5 which seems to be what Gecko does although not what their code suggests :/
https://github.com/whatwg/url/commit/a0a8e32866e702441fbd5469746d917769c62b53
https://github.com/whatwg/url/commit/1c22aa119c354e0020117e02571cec53f7c01064