c3aa24c3f9
This commit adds sanitization for `elementProperty` and `elementAttribute` instructions used in `hostBindings` function, similar to what we already have in the `template` function. Main difference is the fact that for some attributes (like "href" and "src") we can't define which SecurityContext they belong to (URL vs RESOURCE_URL) in Compiler, since information in Directive selector may not be enough to calculate it. In order to resolve the problem, Compiler injects slightly different sanitization function which detects proper Security Context at runtime. PR Close #27939 |
||
---|---|---|
.. | ||
html_sanitizer_spec.ts | ||
sanatization_spec.ts | ||
style_sanitizer_spec.ts | ||
url_sanitizer_spec.ts |