-
Notifications
You must be signed in to change notification settings - Fork 151
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
Add test for unicode keys and values #46
Add test for unicode keys and values #46
Conversation
This implements the test from the comments of gruns#32 and demonstrates a regression (bug was reported in 0.3.mumble, fixed in 0.3.8, and is now broken in 0.4.1 and 0.4.2)
Looks like it got removed in 73ea2da (Py3 support) |
(Re 9150ffc, is there a reason why the tests seem to only use |
Also, re query string parameters, according to https://github.com/gruns/furl/blob/c1cc3e16e00fd9007a96ddeca6689595a5215d9b/API.md#query
but Lines 498 to 525 in c1cc3e1
int keys/values
Which is "correct"? (This turns out to impact my fix) |
With respect to |
With respect to That intention of |
I'll fix this regression shortly. |
This regression is fixed in the latest furl v0.4.3. >>> from furl import furl
>>> f = furl('http://site4dads.ru/')
>>> f.args[u'testö'] = u'testä'
>>> f.url
'http://site4dads.ru/?test%C3%B6=test%C3%A4' Upgrade with
I added Unicode tests similar to yours to make sure this regression doesn't occur again. Thank you for bringing this to my attention Kristian. |
Thanks |
This implements the test from the comments of
#32 and demonstrates a regression
(bug was reported in 0.3.mumble, fixed in 0.3.8, and is now broken in
0.4.1 and 0.4.2)