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

Properly encode query string #55

Merged
merged 1 commit into from
Aug 5, 2023
Merged

Properly encode query string #55

merged 1 commit into from
Aug 5, 2023

Conversation

GregVS
Copy link
Contributor

@GregVS GregVS commented Aug 5, 2023

Queries with special characters are not properly encoded. Instead, encodeUriComponent() should be used to encode the query string. There is no need to call encodeUri() on the Google search url because all parameters are already encoded.

@LuanRT LuanRT merged commit 5bca62f into LuanRT:main Aug 5, 2023
3 of 4 checks passed
@LuanRT
Copy link
Owner

LuanRT commented Aug 5, 2023

Thanks for the PR. Will get this published to NPM as soon as I set up automatic releases & fix the tests.

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.

None yet

2 participants