Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 63bc4ce

Browse files
committed
minor patch
1 parent 29f502f commit 63bc4ce

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/request/connect.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -569,7 +569,7 @@ def queryPage(value=None, place=None, content=False, getRatioValue=False, silent
569569
# throughly without safe chars (especially & and =)
570570
# addendum: as we support url encoding in tampering
571571
# functions therefore we need to use % as a safe char
572-
if place != PLACE.URI or (value and '?' in value and value.find('?') < value.find(payload)):
572+
if place != PLACE.URI or (value and payload and '?' in value and value.find('?') < value.find(payload)):
573573
payload = urlencode(payload, "%", False, True)
574574
value = agent.replacePayload(value, payload)
575575
elif place == PLACE.SOAP:

0 commit comments

Comments
 (0)