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)

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
Priority: -- → P3
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
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?
No longer blocks: 840973
Depends on: 840973
(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 :)
Okay, but bug 840973 is currently not assigned to any sprint. Can we assign it to the current one?
Moving to .9 sprint.
Whiteboard: u=contributor c=wiki p=2 s=2013.backlog → u=contributor c=wiki p=2 s=2013.9
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
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.