FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Fix for urls with non-ascii characters being double encoded. by kylemcc · Pull Request #9 · bitly/bitly-api-python · GitHub

This repository was archived by the owner on Apr 9, 2021. It is now read-only.
/ bitly-api-python Public archive

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

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

Fix for urls with non-ascii characters being double encoded.#9
kylemcc wants to merge 1 commit into
bitly:masterfrom
kylemcc:master

Conversation

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 commented Jan 11, 2013

Copy link
Copy Markdown
Member

this is fixed in version 0.2 of the library.

jehiah closed this Jan 11, 2013
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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


Back | FazBrowse Home | New Git URL