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
Loving furl, it's a great interface for URL-handling! Found this inconsistency in the API while using Python 2.7:
e.g.
# works fine >>> furl(u'http://example.org/?kødpålæg=42') furl('http://example.org/?k%C3%B8dp%C3%A5l%C3%A6g=42') # fails >>> furl('http://example.org').join(u'/?kødpålæg=42') Traceback (most recent call last): File "<input>", line 1, in <module> furl('http://example.org').join(u'/kødpålæg=42') File "/Users/jeffbr/.virtualenvs/clipper/lib/python2.7/site-packages/furl/furl.py", line 1260, in join self.load(urljoin(self.url, str(url))) UnicodeEncodeError: 'ascii' codec can't encode character u'\xf8' in position 2: ordinal not in range(128)
Related to #33 where you fixed furl.__init__, but no sanitation seems to be done for Python 2's unicode strings in urljoin?
furl.__init__
urljoin
The text was updated successfully, but these errors were encountered:
Fixed in furl v0.4.91. Update with
$ pip install furl --upgrade
Thank you for bringing this issue to my attention Ben. Don't hesitate to let me know if there's anything else I can do for you.
Sorry, something went wrong.
Brilliant, cheers!
No branches or pull requests
Loving furl, it's a great interface for URL-handling! Found this inconsistency in the API while using Python 2.7:
e.g.
Related to #33 where you fixed
furl.__init__
, but no sanitation seems to be done for Python 2's unicode strings inurljoin
?The text was updated successfully, but these errors were encountered: