mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-04 14:55:40 +00:00
Patch of bug introduced with 76905e8728
This commit is contained in:
parent
24cefeaee2
commit
11b52c85e1
3 changed files with 6 additions and 6 deletions
|
|
@ -861,9 +861,9 @@ class Connect(object):
|
|||
skip = True
|
||||
|
||||
if not skip:
|
||||
spaceplus = kb.postSpaceToPlus and place in (PLACE.POST, PLACE.CUSTOM_POST)
|
||||
value = urlencode(value, spaceplus=spaceplus)
|
||||
payload = urlencode(payload, safe='%', spaceplus=spaceplus)
|
||||
if place in (PLACE.POST, PLACE.CUSTOM_POST): # potential problems in other cases (e.g. URL encoding of whole URI - including path)
|
||||
value = urlencode(value, spaceplus=kb.postSpaceToPlus)
|
||||
payload = urlencode(payload, safe='%', spaceplus=kb.postSpaceToPlus)
|
||||
value = agent.replacePayload(value, payload)
|
||||
postUrlEncode = False
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue