On 10/29/14 5:39 PM, Valentin Gosu wrote:
On 29 October 2014 15:34, Sam Ruby <[email protected]
<mailto:[email protected]>> wrote:
On 10/29/14 6:09 AM, Valentin Gosu wrote:
I think the content at
http://intertwingly.net/__projects/pegurl/url.html
<http://intertwingly.net/projects/pegurl/url.html>
would represent a nice addition to https://url.spec.whatwg.org/, but
can't really replace the parsing steps we already have.
Care to explain why?
Those steps represent an important reference for implementers, handling
corner cases and parsing peculiarities that might not be obvious at
first glance.
While they're not crucial to the spec, they have been really useful so
far, and I'd like them to continue being available.
My assertion is that the steps I have provided cover these exact same
corner cases and parsing peculiarities, and I have running code and
published test results to back up my assertion. Can you identify a
single corner case that isn't covered (other than the encoding changes
that I already have noted as todos in the document)?
For those that would rather not build it themselves, you can see
this code in action here:
http://intertwingly.net/projects/pegurl/liveview.html
That's really cool. Could prove useful in the future. Thanks!
Thanks!
- Sam Ruby