Skip to content
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

feat: Implement url_search_params::has(name, value) #470

Merged
merged 2 commits into from
Aug 2, 2023

Conversation

Zzzode
Copy link
Contributor

@Zzzode Zzzode commented Aug 1, 2023

According to https://url.spec.whatwg.org/#dom-urlsearchparams-has, we need to provide a has function that takes two arguments name and value.

According to https://url.spec.whatwg.org/#dom-urlsearchparams-has, we
need to provide a `has` function that takes two argument `name` and
`value`.
Copy link
Member

@anonrig anonrig left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice catch. Thank you for your contribution!

@anonrig
Copy link
Member

anonrig commented Aug 1, 2023

Can you also add this function to fuzz/parse.cc so we have some sort of fuzzing coverage?

@Zzzode
Copy link
Contributor Author

Zzzode commented Aug 1, 2023

Can you also add this function to fuzz/parse.cc so we have some sort of fuzzing coverage?

Sure, I'd be happy to handle this.

@Zzzode Zzzode requested a review from anonrig August 1, 2023 14:13
@Zzzode
Copy link
Contributor Author

Zzzode commented Aug 2, 2023

@anonrig I don't have permission to merge, can you merge it?

@anonrig anonrig merged commit ec6511e into ada-url:main Aug 2, 2023
28 checks passed
@anonrig
Copy link
Member

anonrig commented Aug 2, 2023

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants