mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-07 13:11:29 +00:00
Added support for SOAP requests: fixed, extended and tested a user's patch - closes #196.
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user