Skip to content

[Backport 21.2.x] fix(compiler): sanitize two-way properties#69112

Open
SkyZeroZx wants to merge 1 commit into
angular:21.2.xfrom
SkyZeroZx:fix-two-way-21.x
Open

[Backport 21.2.x] fix(compiler): sanitize two-way properties#69112
SkyZeroZx wants to merge 1 commit into
angular:21.2.xfrom
SkyZeroZx:fix-two-way-21.x

Conversation

@SkyZeroZx
Copy link
Copy Markdown
Contributor

Backport of #69107

Apply schema-derived sanitizer resolution to TwoWayProperty ops so native two-way DOM bindings emit the same sanitizer as one-way property bindings.

Add compiler compliance coverage for innerHTML, srcdoc, URL, resource URL, and security-sensitive attribute cases.

(cherry picked from commit 9ca51ab)
@pullapprove pullapprove Bot requested a review from kirjs June 3, 2026 11:41
@angular-robot angular-robot Bot added the area: compiler Issues related to `ngc`, Angular's template compiler label Jun 3, 2026
@ngbot ngbot Bot added this to the Backlog milestone Jun 3, 2026
@JeanMeche JeanMeche removed the request for review from kirjs June 3, 2026 11:52
@JeanMeche JeanMeche added action: merge The PR is ready for merge by the caretaker target: lts This PR is targeting a version currently in long-term support labels Jun 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

action: merge The PR is ready for merge by the caretaker area: compiler Issues related to `ngc`, Angular's template compiler target: lts This PR is targeting a version currently in long-term support

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants