-
Notifications
You must be signed in to change notification settings - Fork 26.6k
Closed
Labels
area: securityIssues related to built-in security features, such as HTML sanitationIssues related to built-in security features, such as HTML sanitationeffort1: hours
Description
I'm submitting a ... (check one with "x")
[x] bug report
[ ] feature request
[ ] support request => Please do not submit support request here, instead see https://github.com/angular/angular/blob/master/CONTRIBUTING.md#question
Current behavior
Since the introduction of html sanitization with rc2, html5 video elements get removed when binding html to the innerHTML property of an element.
Expected/desired behavior
Video elements should be retained just like img elements.
What is the motivation / use case for changing the behavior?
I need to incorporate external html into my app and if sanitization removes video elements I need to turn it off, which causes security issues.
Please tell us about your environment:
- Angular version: 2.0.0-rc.2 and rc.3
- Browser: [all]
- Language: [all]
Metadata
Metadata
Assignees
Labels
area: securityIssues related to built-in security features, such as HTML sanitationIssues related to built-in security features, such as HTML sanitationeffort1: hours