There was an error while loading. Please reload this page.
1 parent 5198e4c commit c31e23eCopy full SHA for c31e23e
lib/request/basic.py
@@ -114,7 +114,7 @@ def title(self):
114
elif not kb.testMode:
115
headers[HTTP_HEADER.COOKIE] += "%s %s=%s" % (conf.cookieDel or DEFAULT_COOKIE_DELIMITER, cookie.name, getUnicode(cookie.value))
116
117
- if kb.testMode and not conf.csrfToken:
+ if kb.testMode and not any((conf.csrfToken, conf.safeUrl)):
118
resetCookieJar(conf.cj)
119
120
return headers
0 commit comments