xss - validate HTML in angular -
how can validate valid looking html below while validating html content received user/service. $sanitize not seem identify it.
for example,
<img src='image' onerror='alert()' />
how can remove of invalud html alert()? or $sanitize treat these kind of blocks valid html?
tia
Comments
Post a Comment