mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-04 14:55:40 +00:00
Added support for SOAP requests: fixed, extended and tested a user's patch - closes #196.
This commit is contained in:
parent
ea45d75f2d
commit
8576817a2b
5 changed files with 66 additions and 22 deletions
|
|
@ -86,7 +86,7 @@ def urldecode(string):
|
|||
return result
|
||||
|
||||
def urlencode(string, safe=":/?%&=", convall=False):
|
||||
if conf.direct:
|
||||
if conf.direct or "POSTxml" in conf.paramDict:
|
||||
return string
|
||||
|
||||
result = None
|
||||
|
|
@ -95,7 +95,7 @@ def urlencode(string, safe=":/?%&=", convall=False):
|
|||
return result
|
||||
|
||||
if convall:
|
||||
result = urllib.quote(utf8encode(string)) #Reference: http://old.nabble.com/Re:-Problem:-neither-urllib2.quote-nor-urllib.quote-encode-the--unicode-strings-arguments-p19823144.html
|
||||
result = urllib.quote(utf8encode(string)) # Reference: http://old.nabble.com/Re:-Problem:-neither-urllib2.quote-nor-urllib.quote-encode-the--unicode-strings-arguments-p19823144.html
|
||||
else:
|
||||
result = urllib.quote(utf8encode(string), safe)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue