Skip to content
This repository was archived by the owner on Apr 9, 2021. It is now read-only.

Fix for urls with non-ascii characters being double encoded. - #9

Closed
kylemcc wants to merge 1 commit into
bitly:masterfrom
kylemcc:master
Closed

kylemcc wants to merge 1 commit into
bitly:masterfrom
kylemcc:master

Conversation

@kylemcc

@kylemcc kylemcc commented Mar 6, 2012

Copy link
Copy Markdown

Urls to be shorted were being double-encoded. This would fail if a url actually contained any non-ascii characters. Connection.shorten was encoding the url via url.encode('UTF-8'). This, however, was already being done in the _call method. I removed the encoding in shorten.

@jehiah

jehiah commented Jan 11, 2013

Copy link
Copy Markdown
Member

this is fixed in version 0.2 of the library.

@jehiah jehiah closed this Jan 11, 2013
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants