mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-10 09:49:06 +00:00
Minor bug fix to correctly deal with unicode queries with -d
This commit is contained in:
@@ -100,3 +100,9 @@ def urlencode(string, safe=":/?%&=", convall=False):
|
||||
result = urllib.quote(string, safe)
|
||||
|
||||
return result
|
||||
|
||||
def utf8encode(string):
|
||||
return string.encode("utf-8")
|
||||
|
||||
def utf8decode(string):
|
||||
return string.decode("utf-8")
|
||||
|
||||
Reference in New Issue
Block a user