We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
My app is currently using web view with creating and parsing query string with qs.
qs.parse(location.search.replace('?', ''), { decoder: decodeURIComponent });
Like above, I'm passing decodeURIComponent as decoder for qs.parse()
decodeURIComponent
decoder
qs.parse()
The problem is, on IOS web view environment, it returns un-decoded string(the result of encodeURIComponent).
encodeURIComponent
is there some underlying conditions on decoder option?
it works fine on pc browser, and android browser.
The text was updated successfully, but these errors were encountered:
decodeURIComponent is not a valid decoder function when used directly; you have to wrap it in a valid one.
Sorry, something went wrong.
No branches or pull requests
My app is currently using web view with creating and parsing query string with qs.
Like above, I'm passing
decodeURIComponent
asdecoder
forqs.parse()
The problem is, on IOS web view environment, it returns un-decoded string(the result of
encodeURIComponent
).is there some underlying conditions on
decoder
option?it works fine on pc browser, and android browser.
The text was updated successfully, but these errors were encountered: