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

Better handling of text/uri-list in built-in extensions #153163

Merged
merged 1 commit into from
Jun 24, 2022

Conversation

mjbvz
Copy link
Collaborator

@mjbvz mjbvz commented Jun 24, 2022

  • When splitting text/uri-list, we should split on \n to handle against spec versions of text/uri-list (i.e. strings that use \n instead of \r\n)
  • However when constructing a text/uri-list, we should use \r\n to align with the spec

- When splitting `text/uri-list`, we should split on `\n` to handle against spec versions of `text/uri-list`
- However when constructing a `text/uri-list`, we should use `\r\n` to align with the spec
@mjbvz mjbvz added this to the June 2022 milestone Jun 24, 2022
@mjbvz mjbvz self-assigned this Jun 24, 2022
@mjbvz mjbvz enabled auto-merge (squash) June 24, 2022 21:39
@rzhao271
Copy link
Contributor

Could there be a problem from the split items ending in \r if we're only splitting on \n?

@mjbvz
Copy link
Collaborator Author

mjbvz commented Jun 24, 2022

URI.parse ignores those but I can make it more explicit

@mjbvz mjbvz merged commit 64305a7 into microsoft:main Jun 24, 2022
@github-actions github-actions bot locked and limited conversation to collaborators Aug 8, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants