fix($compile): lower the $sce context for `src` on video, audio, source, and track
Previously, video, audio, source, and track sources were $sce.RESOURCE_URL. This is not justified as no attacks (script execution) are possible through these attributes as far as we can tell. Angular2 also uses the same categorization. This change is not breaking, and uses of $sce.trustAsResourceUrl before assigning to src or ng-src attributes will just be silently ignored. This has also been given a LGTM by @mprobst via email. PR (#15039) Closes #14019
M
Martin Staffa committed
485320129dd8a942acfcb1e9388eb09667f383b6
Parent: 13c2522
Committed by GitHub <noreply@github.com>
on 8/26/2016, 7:52:11 AM