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

Skip to content

Commit 03c3f83

Browse files
committed
minor fix
1 parent 89a7516 commit 03c3f83

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/core/common.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2506,7 +2506,7 @@ def removeReflectiveValues(content, payload, suppressWarning=False):
25062506

25072507
retVal = content
25082508

2509-
if all([content, payload]) and kb.reflectiveMechanism:
2509+
if all([content, payload]) and isinstance(content, unicode) and kb.reflectiveMechanism:
25102510
payload = urldecode(payload.replace(PAYLOAD_DELIMITER, ''))
25112511

25122512
regex = filterStringValue(payload, r'[A-Za-z0-9]', REFLECTED_NON_ALPHA_NUM_REGEX)

0 commit comments

Comments
 (0)