fix(@angular/build): escape prerender redirect URLs by SkyZeroZx · Pull Request #33248 · angular/angular-cli
-
Notifications
You must be signed in to change notification settings - Fork 11.9k
Conversation
SkyZeroZx
marked this pull request as ready for review
Escape prerender redirect targets before embedding them in generated static redirect pages. This prevents attacker-controlled redirect URLs from breaking out of the meta refresh, anchor href, or fallback text contexts and injecting HTML that could lead to XSS.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters