mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-29 13:03:50 +03:00
minor patch
This commit is contained in:
parent
29f502fe29
commit
63bc4ce116
|
@ -569,7 +569,7 @@ class Connect:
|
|||
# throughly without safe chars (especially & and =)
|
||||
# addendum: as we support url encoding in tampering
|
||||
# functions therefore we need to use % as a safe char
|
||||
if place != PLACE.URI or (value and '?' in value and value.find('?') < value.find(payload)):
|
||||
if place != PLACE.URI or (value and payload and '?' in value and value.find('?') < value.find(payload)):
|
||||
payload = urlencode(payload, "%", False, True)
|
||||
value = agent.replacePayload(value, payload)
|
||||
elif place == PLACE.SOAP:
|
||||
|
|
Loading…
Reference in New Issue
Block a user