mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-27 04:05:58 +00:00
Minor bug fix to correctly deal with unicode queries with -d
This commit is contained in:
parent
655bd79fc4
commit
f26de89216
2 changed files with 8 additions and 0 deletions
|
|
@ -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")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue