- From: Rimas <notifications@github.com>
- Date: Tue, 10 Jan 2017 02:18:28 -0800
- To: whatwg/url <url@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Tuesday, 10 January 2017 10:19:24 UTC
I think the point of failure in your algorithm can be [Integer overflow](https://en.wikipedia.org/wiki/Integer_overflow) in step "4. Set <i>piece</i> to <i>piece</i> × 0x100 + <i>value</i>" (when invalid address has many dots). In some programming languages this can cause a run-time error. So I preffer <i>numbers seen</i> variant. -- 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-271537930
Received on Tuesday, 10 January 2017 10:19:24 UTC