Image preview in "Insert Image" dialog fails with CSP error when image is inserted from web resource
Categories
(Thunderbird :: Message Compose Window, defect)
Tracking
(thunderbird_esr140 fixed, thunderbird143 wontfix, thunderbird144 fixed)
People
(Reporter: francesco, Assigned: mkmelin)
References
(Blocks 1 open bug)
Details
(Keywords: regression)
Attachments
(1 file)
|
48 bytes,
text/x-phabricator-request
|
corey
:
approval-comm-beta+
corey
:
approval-comm-esr140+
|
Details | Review |
Open a compose window and insert am image via the "Insert Image" dialog from a web resource, for example:
https://bugzilla.mozilla.org/images/index/firefox-beta.svg
Result: Image preview is broken.
Error in the console:
Content-Security-Policy: The page’s settings blocked the loading of a resource (img-src) at https://bugzilla.mozilla.org/images/index/firefox-beta.svg because it violates the following directive: “img-src chrome: data:” EdImageDialog.js:296:3
| Assignee | ||
Comment 1•3 months ago
|
||
Updated•3 months ago
|
| Assignee | ||
Updated•3 months ago
|
| Assignee | ||
Updated•3 months ago
|
Pushed by brendan@thunderbird.net:
https://hg.mozilla.org/comm-central/rev/04b9052114b6
"Insert Image" dialog CSP needs to allow http/s. r=arschmitz
| Assignee | ||
Comment 3•2 months ago
|
||
Comment on attachment 9514133 [details]
Bug 1989392 - "Insert Image" dialog CSP needs to allow http/s. r=arschmitz
Uplift Approval Request
- Please state case for uplift consideration and ensure bug severity is set: Broken feature
- User impact if declined: Preview doesn't work
- Is this code covered by automated tests?: No
- Has the fix been verified in Daily?: Yes
- Has the fix been verified in Beta?: No
- Needs manual test from QA?: No
- If yes, steps to reproduce:
- List of other uplifts needed: None
- Risk to taking this patch: Low
- Why is the change risky/not risky? (and alternatives if risky): Confined change
- Does the fix cause any migrations to be skipped?: No
- String changes made/needed: none
Comment 4•2 months ago
|
||
Comment on attachment 9514133 [details]
Bug 1989392 - "Insert Image" dialog CSP needs to allow http/s. r=arschmitz
[Triage Comment]
Approved for beta
Comment 5•2 months ago
|
||
| bugherder uplift | ||
Thunderbird 144.0b2:
https://hg.mozilla.org/releases/comm-beta/rev/846156d45e44
Comment 6•2 months ago
|
||
Comment on attachment 9514133 [details]
Bug 1989392 - "Insert Image" dialog CSP needs to allow http/s. r=arschmitz
[Triage Comment]
Approved for esr140
Comment 7•2 months ago
|
||
| uplift | ||
Thunderbird 140.4.0esr:
https://hg.mozilla.org/releases/comm-esr140/rev/cff647890450933bf0a02290682d4fc4c6923eb2
Description
•