Attachment with application/octet-stream MIME type should not be previewed even if it’s actually text file

RESOLVED FIXED

Status

()

defect
RESOLVED FIXED
3 months ago
3 months ago

People

(Reporter: dustin, Assigned: kohei)

Tracking

Staging

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

https://bugzilla.mozilla.org/show_bug.cgi?id=1492110 causes my browser to hang, I think because it has a gargantuan attachment that it tries to render?

For the moment, it'd be OK with me to remove that attachment (or mark it in such a way that it is not rendered -- different content-type maybe?), but this is probably a bug?

Oh, I forgot I can do that -- it's still rendering with type application/binary, though.

The attachment is less than 500 KB and it doesn’t hang my Firefox, but the preview should not be displayed when the MIME type is application/octet-stream. I’ll fix it.

Assignee: nobody → kohei.yoshino
Status: NEW → ASSIGNED
Component: General → User Interface: Modal
Summary: Large JSON attachments cause bug view to fail → Attachment with application/octet-stream MIME type should not be previewed even if it’s actually text file

Huh, maybe that tab crashed for some other reason.. the perils of Firefox beta!

Hmm, it does hang Firefox Nightly.

Forgot to include this in Bug 1538383.

See Also: → 1538383

Merged to master.

Status: ASSIGNED → RESOLVED
Closed: 3 months ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.