mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-22 17:46:37 +03:00
minor fix
This commit is contained in:
parent
89a7516c35
commit
03c3f83893
|
@ -2506,7 +2506,7 @@ def removeReflectiveValues(content, payload, suppressWarning=False):
|
||||||
|
|
||||||
retVal = content
|
retVal = content
|
||||||
|
|
||||||
if all([content, payload]) and kb.reflectiveMechanism:
|
if all([content, payload]) and isinstance(content, unicode) and kb.reflectiveMechanism:
|
||||||
payload = urldecode(payload.replace(PAYLOAD_DELIMITER, ''))
|
payload = urldecode(payload.replace(PAYLOAD_DELIMITER, ''))
|
||||||
|
|
||||||
regex = filterStringValue(payload, r'[A-Za-z0-9]', REFLECTED_NON_ALPHA_NUM_REGEX)
|
regex = filterStringValue(payload, r'[A-Za-z0-9]', REFLECTED_NON_ALPHA_NUM_REGEX)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user