Skip to content

JS: Migrate model of URLSearchParams #18768

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Feb 17, 2025
Merged

Conversation

asgerf
Copy link
Contributor

@asgerf asgerf commented Feb 13, 2025

Fixes #18757.

With the data flow migration, the old model of URLSearchParams stopped working because its pseudo-properties were not included in PropertyName.

I've confirmed that simply including them in PropertyName would fix the observed issue, but I went ahead and ported the model to flow summaries. I decided to model the object as a Map since it shares most of the same interface and the addition of getAll is unlikely to cause problems for regular Map objects.

@asgerf asgerf marked this pull request as ready for review February 14, 2025 11:39
@asgerf asgerf requested a review from a team as a code owner February 14, 2025 11:39
@asgerf asgerf merged commit e02577d into github:main Feb 17, 2025
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Simple JS CodeInjection vulnerability no longer caught in latest release.
2 participants