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

Skip to content

Commit 35c8e01

Browse files
committed
Minor patch
1 parent 3f3a873 commit 35c8e01

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/core/target.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ def process(match, repl):
225225
elif test[0] in ("q", "Q"):
226226
raise SqlmapUserQuitException
227227

228-
for place, value in ((PLACE.URI, conf.url), (PLACE.CUSTOM_POST, conf.data), (PLACE.CUSTOM_HEADER, str(conf.httpHeaders))):
228+
for place, value in ((PLACE.URI, conf.url), (PLACE.CUSTOM_POST, conf.data), (PLACE.CUSTOM_HEADER, unicode(conf.httpHeaders))):
229229
_ = re.sub(PROBLEMATIC_CUSTOM_INJECTION_PATTERNS, "", value or "") if place == PLACE.CUSTOM_HEADER else value or ""
230230
if CUSTOM_INJECTION_MARK_CHAR in _:
231231
if kb.processUserMarks is None:

0 commit comments

Comments
 (0)