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 [[ Increase pointer by one. ]] Should this be If c is not the EOF code point then increase pointer by one.
The way the pointer thing in the specification works is that if you point beyond EOF it's still EOF. Is this actually a problem?
It was an issue for me when programming in C/C++. I had to figured out the problem/bug. In my opinion, the text I suggested is less error prone and more precise.
This likely will become moot with the proposed parser rewrite.
Albert, were both instances of the step "Increase pointer by one." problematic in your implementation? It's not clear to which one you are referring here.
Hi Anne, The problematic step was the step after "If dots seen is 1 or 3, increase piece pointer by one." and the step before "If dots seen is 3 and c is not the EOF code point, parse error, return failure."
Thanks! https://github.com/whatwg/url/commit/d9edb273068c2b10151d9e713d7e10811f578081