Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP


url_escape with a "quote" option (not quote_plus) #25

sylvainvivien opened this Issue · 0 comments

1 participant


Could you add an option for the url_escape method that don't use
quote_plus but only quote.

Something like this :

def url_escape(value, quote_plus=True):
"""Returns a valid URL-encoded version of the given value."""
if quote_plus:
return urllib.quote_plus(utf8(value))
return urllib.quote(utf8(value))

@bdarnell bdarnell closed this in 7056d6f
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.