- From: Domenic Denicola <notifications@github.com>
- Date: Fri, 06 Jan 2017 11:26:47 -0800
- To: whatwg/url <url@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Friday, 6 January 2017 19:27:22 UTC
This does not appear to give the correct results. Given input `::1.`, there should be a failure, but following the new algorithm, there is none: step 5: pointer = 2, piece pointer = compress pointer = 1 step 6 (main): - step 4: value = 1, pointer = 3, length = 1 - step 6: c = "." => pointer = 2, ipv4 = true step 10: - first round, c = "1" - step 3: value = 1, pointer = 3 - step 4: no failure (c is "." now because pointer incremented in step 3) - new step "if dots seen is 3 and c is not the EOF code point, failure": no failure (c is ".", not EOF) - new step "if c is "." increase pointer and dots seen by one": pointer is now 4, so c = EOF, so loop exits -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/whatwg/url/pull/196#issuecomment-270983972
Received on Friday, 6 January 2017 19:27:22 UTC