Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Instances of split should link to Infra #323

Open
Tracked by #282
GPHemsley opened this issue Jun 11, 2017 · 2 comments
Open
Tracked by #282

Instances of split should link to Infra #323

GPHemsley opened this issue Jun 11, 2017 · 2 comments
Labels
clarification Standard could be clearer

Comments

@GPHemsley
Copy link
Member

The "IPv4 parser" and the "application/x-www-form-urlencoded parser" both use the word split without defining the algorithm to do so. In particular, this leaves ambiguous the case where the delimiter does not occur in the string or byte sequence.

Infra defines many different types of splits, but it is likely that the "strictly split" algorithm is what is intended here.

One caveat, however, is that the "application/x-www-form-urlencoded parser" operates on bytes, rather than on code points. This might require some finagling.

@TimothyGu
Copy link
Member

See https://github.com/whatwg/url/pull/300/files#diff-03b21320f26423640f89c447968191e5R2381, #300 (comment), whatwg/infra#91

@GPHemsley
Copy link
Member Author

Oh, very good.

@annevk annevk added clarification Standard could be clearer and removed non-normative labels Apr 26, 2020
@annevk annevk mentioned this issue Apr 26, 2020
4 tasks
annevk added a commit that referenced this issue May 5, 2020
Helps with #282 and #323.

Co-authored-by: Domenic Denicola <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
clarification Standard could be clearer
Development

No branches or pull requests

4 participants