Closed GregVS closed 1 year ago
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.
encodeUriComponent()
encodeUri()
Thanks for the PR. Will get this published to NPM as soon as I set up automatic releases & fix the tests.
Queries with special characters are not properly encoded. Instead,
encodeUriComponent()
should be used to encode the query string. There is no need to callencodeUri()
on the Google search url because all parameters are already encoded.