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

Skip to content

Commit c4df6f3

Browse files
committed
Fixes #1465
1 parent 5705623 commit c4df6f3

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

lib/request/connect.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -439,6 +439,11 @@ class _(dict):
439439

440440
logger.log(CUSTOM_LOGGING.TRAFFIC_OUT, requestMsg)
441441

442+
if conf.cj:
443+
for cookie in conf.cj:
444+
if cookie.value is None:
445+
cookie.value = ""
446+
442447
conn = urllib2.urlopen(req)
443448

444449
if not kb.authHeader and getRequestHeader(req, HTTP_HEADER.AUTHORIZATION) and (conf.authType or "").lower() == AUTH_TYPE.BASIC.lower():

0 commit comments

Comments
 (0)