angular/packages/core/test/sanitization
Alan Agius 90494cd909
fix(compiler): strip namespaced SVG script elements during template compilation
Ensures that namespaced <script> elements (such as :svg:script) are correctly classified as PreparsedElementType.SCRIPT by the template preparser and stripped during compilation to prevent potential XSS vulnerabilities. Consequently, obsolete security schema mappings and runtime sanitization checks for <script> attributes have been removed since these elements are never present in compiled template outputs.
2026-05-19 13:06:00 -07:00
..
html_sanitizer_spec.ts Revert "refactor(core): Add ngDevMode guards and new sanitization error codes" 2026-01-02 11:37:24 +01:00
sanitization_spec.ts fix(compiler): strip namespaced SVG script elements during template compilation 2026-05-19 13:06:00 -07:00
url_sanitizer_spec.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00