From 62f35698eec8bdee7caf0fd9aed89fc3acc1eb43 Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Thu, 6 Aug 2015 13:07:16 +0200 Subject: [PATCH] Bug fix (ML) - when cookies have blank expiration time --- lib/core/common.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/core/common.py b/lib/core/common.py index 6f9303876..b72066c64 100755 --- a/lib/core/common.py +++ b/lib/core/common.py @@ -3831,7 +3831,7 @@ def resetCookieJar(cookieJar): with open(filename, "w+b") as f: f.write("%s\n" % NETSCAPE_FORMAT_HEADER_COOKIES) for line in lines: - _ = line.split() + _ = line.split("\t") if len(_) == 7: _[4] = FORCE_COOKIE_EXPIRATION_TIME f.write("\n%s" % "\t".join(_))