Minor patch for an Issue #575

This commit is contained in:
Miroslav Stampar 2013-12-18 00:56:11 +01:00
parent fd6dcd8bf5
commit 2c2667b2be

View File

@ -2168,7 +2168,7 @@ def urldecode(value, encoding=None, unsafe="%%&=;+%s" % CUSTOM_INJECTION_MARK_CH
return result
def urlencode(value, safe="%&=", convall=False, limit=False, spaceplus=False):
def urlencode(value, safe="%&=-_", convall=False, limit=False, spaceplus=False):
"""
URL encodes given value