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

Limit Content-Type overrides to when charset isn't already UTF-8 #224

Merged
merged 1 commit into from
Oct 30, 2018

Conversation

annevk
Copy link
Member

@annevk annevk commented Oct 16, 2018

This will help web compatibility and address all cases linked from whatwg/mimesniff#84.

Tests: ...


Preview | Diff

This will help web compatibility and address all cases linked from whatwg/mimesniff#84.

Tests: ...
@annevk annevk requested a review from domenic October 16, 2018 13:20
@annevk
Copy link
Member Author

annevk commented Oct 16, 2018

cc @wisniewskit

@annevk annevk added the needs tests Moving the issue forward requires someone to write tests label Oct 16, 2018
annevk added a commit to whatwg/mimesniff that referenced this pull request Oct 16, 2018
This is a defense-in-depth for the issues that arised at #84. In theory they are all solved by whatwg/xhr#224, but given how quickly several sites turned up that relied on a space, it seems prudent to standardize on that serialization to avoid similar issues elsewhere.
annevk added a commit to web-platform-tests/wpt that referenced this pull request Oct 16, 2018
…ialization

Tests for whatwg/xhr#224 and whatwg/mimesniff#86. They are combined in a single commit as otherwise there would be two rounds of changes to the XMLHttpRequest tests, while they are really supposed to be coupled.
annevk added a commit to web-platform-tests/wpt that referenced this pull request Oct 18, 2018
…ialization

Tests for whatwg/xhr#224 and whatwg/mimesniff#86. They are combined in a single commit as otherwise there would be two rounds of changes to the XMLHttpRequest tests, while they are really supposed to be coupled.
annevk added a commit to web-platform-tests/wpt that referenced this pull request Oct 30, 2018
@annevk annevk removed the needs tests Moving the issue forward requires someone to write tests label Oct 30, 2018
@annevk annevk merged commit 721f3c9 into master Oct 30, 2018
@annevk annevk deleted the annevk/content-type-overrides branch October 30, 2018 15:23
annevk added a commit to web-platform-tests/wpt that referenced this pull request Oct 30, 2018
moz-v2v-gh pushed a commit to mozilla/gecko-dev that referenced this pull request Nov 10, 2018
…less, a=testonly

Automatic update from web-platform-testsXMLHttpRequest: manipulate Content-Type less

For whatwg/xhr#224 and in particular whatwg/mimesniff#84.

This supersedes and closes #13544.

--

wpt-commits: 99f4fdcd906411c036e96c055e28b3e6ca84a1cc
wpt-pr: 13779
jyc pushed a commit to jyc/gecko that referenced this pull request Nov 11, 2018
…less, a=testonly

Automatic update from web-platform-testsXMLHttpRequest: manipulate Content-Type less

For whatwg/xhr#224 and in particular whatwg/mimesniff#84.

This supersedes and closes #13544.

--

wpt-commits: 99f4fdcd906411c036e96c055e28b3e6ca84a1cc
wpt-pr: 13779
domenic pushed a commit to jsdom/jsdom that referenced this pull request May 28, 2019
gecko-dev-updater pushed a commit to marco-c/gecko-dev-comments-removed that referenced this pull request Oct 3, 2019
…less, a=testonly

Automatic update from web-platform-testsXMLHttpRequest: manipulate Content-Type less

For whatwg/xhr#224 and in particular whatwg/mimesniff#84.

This supersedes and closes #13544.

--

wpt-commits: 99f4fdcd906411c036e96c055e28b3e6ca84a1cc
wpt-pr: 13779

UltraBlame original commit: f5b3c921363e751e6ad363970bd7727701d59525
gecko-dev-updater pushed a commit to marco-c/gecko-dev-wordified that referenced this pull request Oct 3, 2019
…less, a=testonly

Automatic update from web-platform-testsXMLHttpRequest: manipulate Content-Type less

For whatwg/xhr#224 and in particular whatwg/mimesniff#84.

This supersedes and closes #13544.

--

wpt-commits: 99f4fdcd906411c036e96c055e28b3e6ca84a1cc
wpt-pr: 13779

UltraBlame original commit: f5b3c921363e751e6ad363970bd7727701d59525
gecko-dev-updater pushed a commit to marco-c/gecko-dev-wordified-and-comments-removed that referenced this pull request Oct 3, 2019
…less, a=testonly

Automatic update from web-platform-testsXMLHttpRequest: manipulate Content-Type less

For whatwg/xhr#224 and in particular whatwg/mimesniff#84.

This supersedes and closes #13544.

--

wpt-commits: 99f4fdcd906411c036e96c055e28b3e6ca84a1cc
wpt-pr: 13779

UltraBlame original commit: f5b3c921363e751e6ad363970bd7727701d59525
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants