mirror of
https://github.com/angular/angular.git
synced 2026-11-23 07:05:14 -05:00
The parameter encoding was using a plain object literal lookup to determine how to encode specific characters. This makes it vulnerable to prototype pollution.
These changes mitigate the issue by storing the mapping in a native `Map` instead.
(cherry picked from commit 01c883e2b6)