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
self._qs.unescape is not a function #1627
Comments
Ok, thanks a lot. Closing it as it isn't relevant. |
I have just run into this as well, bundling an app using Parcel. It's possible that bundlers don't include it because it seems to be deprecated: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/unescape (decodeURI is recommended instead). |
lexaboss
added a commit
to lexaboss/querystring
that referenced
this issue
Jul 27, 2018
ghost
mentioned this issue
Apr 3, 2019
3 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm trying to execute a POST request with the following code:
But I'm having the following error:
Uncaught TypeError: self._qs.unescape is not a function
corresponding to these lines:
Maybe I'm doing something wrong but there's something weird with this error.
The
_qs
attribute of request is an instance of Querystring function localized in./lib/querystring
Moving to this file I can see the following code:
... and then this one
When I log in the console the
querystring
object, I can't find any function calledunescape
.Well, I hope I'm not wasting your time with this. Am I misusing the request package or is it really a bug ?
The text was updated successfully, but these errors were encountered: