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

Added utf8 in curl query parameters #39

Merged
merged 1 commit into from
Sep 18, 2014
Merged

Conversation

ilvar
Copy link
Contributor

@ilvar ilvar commented Sep 16, 2014

There is a problem if GET parameters contain non-ASCII symbols. /silk/request/ID/throws error 500 and complains on urlencode.

That's known issue with urlencode - it expects values in dict to be string, not unicode. So I've added explicit utf8-encoding here.

Tests for CURL are all commented out, so no test here. I can add it as a separate TestCase, if necessary.

@mtford90
Copy link
Collaborator

Thanks ilvar, I'll add the test case myself as the curl test cases are broken (hence the commenting out). I'll be doing a release with fixes for a few other issues also so will release this at the same time ;).

mtford90 added a commit that referenced this pull request Sep 18, 2014
Added utf8 in curl query parameters
@mtford90 mtford90 merged commit 00e3dcb into jazzband:master Sep 18, 2014
pablodiazgutierrez pushed a commit to appfluence/django-silk that referenced this pull request Oct 18, 2020
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.

2 participants