Closed
Bug 862120
Opened 11 years ago
Closed 11 years ago
White-list iframes with src that points to youtube.
Categories
(support.mozilla.org :: Knowledge Base Software, task, P3)
support.mozilla.org
Knowledge Base Software
Tracking
(Not tracked)
RESOLVED
FIXED
2013Q2
People
(Reporter: rrosario, Assigned: rrosario)
References
Details
(Whiteboard: u=contributor c=wiki p=1 s=2013.9)
See Bug 854554 We currently don't allow iframes at all. To workaround this, the youtube embedding code is a hack and doesn't work within templates. We should whitelist iframes and only allow src that points to youtube using callable filters in bleach http://bleach.readthedocs.org/en/latest/clean.html#callable-filters I think this is a 1-2 pter. Going with 2pts for now and will adjust to 1pt if it's a quick fix
Assignee | ||
Updated•11 years ago
|
Priority: -- → P3
Assignee | ||
Comment 1•11 years ago
|
||
Moving this to the backlog because it depends on a backlog bug.
Blocks: 840973
Whiteboard: u=contributor c=wiki p=2 s=2013.8 → u=contributor c=wiki p=2 s=2013.backlog
Comment 2•11 years ago
|
||
pretty sure this depends on bug 840973 then. Ricky, what's the issue with bug 840973 can we take that in this sprint and this bug in the next?
Assignee | ||
Comment 3•11 years ago
|
||
(In reply to Kadir Topal [:atopal] from comment #2) > pretty sure this depends on bug 840973 then. Ricky, what's the issue with > bug 840973 can we take that in this sprint and this bug in the next? yes, I had added the dependency :)
Comment 4•11 years ago
|
||
Okay, but bug 840973 is currently not assigned to any sprint. Can we assign it to the current one?
Assignee | ||
Comment 5•11 years ago
|
||
Moving to .9 sprint.
Whiteboard: u=contributor c=wiki p=2 s=2013.backlog → u=contributor c=wiki p=2 s=2013.9
Assignee | ||
Comment 6•11 years ago
|
||
In a pull request: https://github.com/mozilla/kitsune/pull/1326
Assignee | ||
Comment 7•11 years ago
|
||
Landed on master: https://github.com/mozilla/kitsune/commit/10fb9d72808cfa48720f1355c41ac513911ad89f
Assignee | ||
Comment 8•11 years ago
|
||
Deployed to prod. youtube videos in templates should now work when using the template in another doc.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Assignee | ||
Comment 9•11 years ago
|
||
Adjusting this to 1pt because it didn't take more than a few hours.
Whiteboard: u=contributor c=wiki p=2 s=2013.9 → u=contributor c=wiki p=1 s=2013.9
You need to log in
before you can comment on or make changes to this bug.
Description
•