From 06c8704179bf528c8b576217ba67f379b08cff93 Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Fri, 28 Aug 2015 15:30:28 +0200 Subject: [PATCH] Fixes #1365 --- lib/core/option.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/core/option.py b/lib/core/option.py index b4f9faea1..57860f39e 100644 --- a/lib/core/option.py +++ b/lib/core/option.py @@ -1581,6 +1581,9 @@ def _cleanupOptions(): else: conf.skip = [] + if conf.cookie: + conf.cookie = re.sub(r"[\r\n]", "", conf.cookie) + if conf.delay: conf.delay = float(conf.delay)