Plain text attachment cut off due to wrong charset detection (UTF-8 as Windows-1252)
Categories
(bugzilla.mozilla.org :: General, defect)
Tracking
()
People
(Reporter: botond, Assigned: kohei)
References
Details
Attachments
(1 file)
STR:
Navigate to this attachment (as linked from this comment).
The attachment is a text/plain attachment containing the complete source of an HTML file.
Expected results:
The HTML source is rendered in full as plain text.
Actual results:
The HTML source is cut off part way, e.g. for me the last thing I see is:
<div class="content-box content-box-
Reloading the page causes it to either load completely, or be cut off at a different place. (If the page loads completely on the first try, reloading will usually cause it to be cut off on a subsequent load.)
Assignee | ||
Comment 1•5 years ago
|
||
Can reproduce the issue. Sometimes a blank page is returned 🤔
Assignee | ||
Comment 2•5 years ago
|
||
I can reproduce it locally as well. This is because the file is served as text/plain; charset=windows-1252
instead of text/plain; charset=UTF-8
due to wrong charset detection. In Chrome, you’ll get ERR_INCOMPLETE_CHUNKED_ENCODING
intermittently.
Assignee | ||
Updated•5 years ago
|
Assignee | ||
Comment 3•5 years ago
|
||
Assignee | ||
Comment 4•5 years ago
|
||
Merged to master.
Description
•