mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-04 06:50:14 +00:00
Patch for an Issue #347
This commit is contained in:
parent
a38b3e397c
commit
f7eda07d92
3 changed files with 11 additions and 2 deletions
|
|
@ -620,8 +620,8 @@ class Connect(object):
|
|||
payload = json.dumps(payload)[1:-1]
|
||||
value = agent.replacePayload(value, payload)
|
||||
else:
|
||||
if not skipUrlEncode and place in (PLACE.GET, PLACE.COOKIE, PLACE.URI):
|
||||
# GET, URI and Cookie need to be throughly URL encoded (POST is encoded down below)
|
||||
if not skipUrlEncode and place in (PLACE.GET, PLACE.POST, PLACE.COOKIE, PLACE.URI):
|
||||
# GET, POST, URI and Cookie payload needs to be throughly URL encoded
|
||||
payload = urlencode(payload, '%', False, place != PLACE.URI)
|
||||
value = agent.replacePayload(value, payload)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue