Page MenuHomePhabricator

Fix YouTube remarkup rule being blocked by Content-Security-Policy header
ClosedPublic

Authored by epriestley on Apr 2 2018, 11:05 PM.
Tags
None
Referenced Files
F14083988: D19277.diff
Sat, Nov 23, 6:27 AM
Unknown Object (File)
Tue, Nov 19, 2:16 PM
Unknown Object (File)
Oct 23 2024, 6:17 PM
Unknown Object (File)
Oct 18 2024, 9:11 PM
Unknown Object (File)
Oct 17 2024, 3:51 AM
Unknown Object (File)
Oct 16 2024, 7:52 PM
Unknown Object (File)
Oct 15 2024, 9:53 PM
Unknown Object (File)
Oct 15 2024, 9:51 PM
Subscribers
None

Details

Summary

Ref T13116. See PHI526. Currently, the YouTube remarkup rule writes an <iframe ...> but does not adjust the Content-Security-Policy appropriately.

Test Plan

Pasted a YouTube link; viewed it in Safari, Chrome and Firefox.

Diff Detail

Repository
rP Phabricator
Branch
youtube1
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 19963
Build 27062: Run Core Tests
Build 27061: arc lint + arc unit

Event Timeline

This revision was not accepted when it landed; it landed in state Needs Review.Apr 2 2018, 11:09 PM
epriestley requested review of this revision.
This revision was automatically updated to reflect the committed changes.