Skip to content

Commit c31e23e

Browse files
committed
Patch for an Issue sqlmapproject#1516
1 parent 5198e4c commit c31e23e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/request/basic.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ def title(self):
114114
elif not kb.testMode:
115115
headers[HTTP_HEADER.COOKIE] += "%s %s=%s" % (conf.cookieDel or DEFAULT_COOKIE_DELIMITER, cookie.name, getUnicode(cookie.value))
116116

117-
if kb.testMode and not conf.csrfToken:
117+
if kb.testMode and not any((conf.csrfToken, conf.safeUrl)):
118118
resetCookieJar(conf.cj)
119119

120120
return headers

0 commit comments

Comments
 (0)