aboutsummaryrefslogtreecommitdiffstats
path: root/src/ng/rootScope.js
diff options
context:
space:
mode:
authorChirayu Krishnappa2013-07-16 12:48:29 -0700
committerChirayu Krishnappa2013-07-18 11:29:50 -0700
commit3e39ac7e1b10d4812a44dad2f959a93361cd823b (patch)
tree96185a21871d78862c63e8c1adf16cf18d0f66c7 /src/ng/rootScope.js
parente449c6df06d92136f9fab95caa29ac2e74b5e58b (diff)
downloadangular.js-3e39ac7e1b10d4812a44dad2f959a93361cd823b.tar.bz2
fix($compile): allow data: image URIs in img[src]
Ref: 1adf29af13890d61286840177607edd552a9df97 BREAKING CHANGE: img[src] URLs are now sanitized via a separate whitelist regex instead of sharing the whitelist regex with a[href]. With this change, img[src] URLs may also be data: URI's matching mime types image/*. mailto: URLs are disallowed (and do not make sense for img[src] but were allowed under the a[href] whitelist used before.)
Diffstat (limited to 'src/ng/rootScope.js')
0 files changed, 0 insertions, 0 deletions