Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5f25a77 commit 4e61113Copy full SHA for 4e61113
1 file changed
lib/request/basic.py
@@ -92,7 +92,7 @@ def title(self):
92
if conf.cj:
93
if HTTP_HEADER.COOKIE in headers:
94
for cookie in conf.cj:
95
- if cookie.domain_specified and not conf.hostname.endswith(cookie.domain):
+ if cookie.domain_specified and not (conf.hostname or "").endswith(cookie.domain):
96
continue
97
98
if ("%s=" % getUnicode(cookie.name)) in getUnicode(headers[HTTP_HEADER.COOKIE]):
0 commit comments