Thanks to visit codestin.com
Credit goes to github.com

Skip to content

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

Merged
atscott merged 1 commit into
angular:20.3.xfrom
SkyZeroZx:backport-two-way-20.x
Jun 4, 2026
Merged

[Backport 20.3.x] fix(compiler): sanitize two-way properties#69113
atscott merged 1 commit into
angular:20.3.xfrom
SkyZeroZx:backport-two-way-20.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 crisbeto June 3, 2026 11:47
@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 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 and removed target: lts This PR is targeting a version currently in long-term support labels Jun 3, 2026
@atscott
atscott merged commit a68ec70 into angular:20.3.x Jun 4, 2026
34 of 36 checks passed
@atscott

atscott commented Jun 4, 2026

Copy link
Copy Markdown
Contributor

This PR was merged into the repository. The changes were merged into the following branches:

@angular-automatic-lock-bot

Copy link
Copy Markdown

This pull request has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot Bot locked and limited conversation to collaborators Jul 5, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

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.

4 participants