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

query with + gets clobbered by unquote_plus #10

Open
chadwhitacre opened this issue Dec 10, 2012 · 1 comment
Open

query with + gets clobbered by unquote_plus #10

chadwhitacre opened this issue Dec 10, 2012 · 1 comment

Comments

@chadwhitacre
Copy link
Owner

I reproduced this by saving a document {"a": "foo+bar"} and then querying for it in Mongs. 404 as reported by @sureshsaggar.

@chadwhitacre
Copy link
Owner Author

Why did I think that we needed unquote_plus? The Python docs seem to indicate that unquote is for URL paths (including querystrings?) and unquote_plus is for form post bodies (but not querystrings?). This old comment from Guido seems to corroborate that.

Let's drop to unquote and see if anyone else complains. :)

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

No branches or pull requests

1 participant