Cannot detect ISO-2022-JP
Categories
(Core :: Internationalization, defect, P3)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox-esr140 | --- | unaffected |
| firefox152 | --- | wontfix |
| firefox153 | --- | fixed |
| firefox154 | --- | fixed |
People
(Reporter: emk, Assigned: hsivonen)
References
()
Details
(Keywords: japan, regression)
Attachments
(2 files)
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
phab-bot
:
approval-mozilla-beta+
|
Details | Review |
I know we deliberately disabled auto-detection, but Chrome detects ISO-2022-JP on this page.
The difference may cause script injection (think if the MIME type is text/html and \x1b$B<script>alert()</script>\x1b(B exists on this page.
Updated•1 month ago
|
| Assignee | ||
Comment 2•1 month ago
|
||
| Assignee | ||
Comment 3•1 month ago
|
||
It would have been nice if https://github.com/mozilla/standards-positions/issues/1199 had emphasized that Chrome was retaining autodetection for plain text.
I've attached a patch that tries to restore autodetection support for plain text. I have a feeling that I might be missing some cases. This doesn't have tests, yet.
| Assignee | ||
Updated•1 month ago
|
Comment 4•1 month ago
|
||
:hsivonen hi! can you set a priority/severity for this?
| Assignee | ||
Comment 5•1 month ago
|
||
S3, because despite the lack of workaround, the impact is relatively limited: Mostly archives of mailing lists served over HTTP.
| Assignee | ||
Comment 6•1 month ago
|
||
Updated•1 month ago
|
Updated•1 month ago
|
| Assignee | ||
Comment 7•1 month ago
|
||
Comment 9•1 month ago
|
||
| bugherder | ||
Comment 10•1 month ago
|
||
The patch landed in nightly and beta is affected.
:hsivonen, is this bug important enough to require an uplift?
- If yes, please nominate the patch for beta approval.
- See https://wiki.mozilla.org/Release_Management/Requesting_an_Uplift for documentation on how to request an uplift.
- If no, please set
status-firefox153towontfix.
For more information, please visit BugBot documentation.
Comment 11•20 days ago
|
||
Given that Henri isn't available to do so, can you please nominate this for Beta uplift?
| Reporter | ||
Comment 12•20 days ago
|
||
Original Revision: https://phabricator.services.mozilla.com/D308005
Updated•20 days ago
|
Comment 13•20 days ago
|
||
firefox-beta Uplift Approval Request
- User impact if declined/Reason for urgency: Users cannot read plain text files encoded in ISO-2022-JP.
- Code covered by automated testing?: yes
- Fix verified in Nightly?: yes
- Needs manual QE testing?: no
- Steps to reproduce for manual QE testing:
- Risk associated with taking this patch: low
- Explanation of risk level: Only partially restores previous code paths.
- String changes made/needed?: No
- Is Android affected?: yes
| Reporter | ||
Updated•20 days ago
|
Updated•20 days ago
|
Updated•20 days ago
|
Updated•20 days ago
|
Comment 14•20 days ago
|
||
| uplift | ||
Description
•