[email] Prevent pasting of rich text in contenteditable fields

RESOLVED FIXED

Status

Firefox OS
Gaia::E-Mail
RESOLVED FIXED
3 years ago
3 years ago

People

(Reporter: jrburke, Assigned: jrburke)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Assignee)

Description

3 years ago
Bug 952456 introduced the ability to copy rich text. To properly support pasting rich text in emails will take some work, specifically around email encoding to refer to multiple mime parts, as well as extra care around sanitizing the text for security issues.

In the meantime, just allow pasting the plain text version of the copied text, as outlined in bug 952456 comment 83 and 84.
Created attachment 8668102 [details] [review]
[gaia] jrburke:bug1210151-email-paste-plaintext > mozilla-b2g:master
(Assignee)

Updated

3 years ago
Attachment #8668102 - Flags: review?(bugmail)
Attachment #8668102 - Flags: review?(bugmail) → review+
(Assignee)

Comment 2

3 years ago
Merged in gaia master:
https://github.com/mozilla-b2g/gaia/commit/4f0f28b2aea1c7544c4d30a40f3ff50bf80a0e3e

from pull request:
https://github.com/mozilla-b2g/gaia/pull/32141
Status: NEW → RESOLVED
Last Resolved: 3 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.