From 3710a7051bd499fcb0dd05ed702d69e92458c982 Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Tue, 25 Mar 2014 21:26:22 +0100 Subject: [PATCH] Fix for an Issue #653 --- lib/core/option.py | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/core/option.py b/lib/core/option.py index cd8cd8fc1..5c458c2b1 100644 --- a/lib/core/option.py +++ b/lib/core/option.py @@ -242,6 +242,7 @@ def _feedTargetsDict(reqFile, addedTargetUrls): for match in reqResList: request = match if isinstance(match, basestring) else match.group(0) + request = re.sub(r"\A[^\w]+", "", request) schemePort = re.search(r"(http[\w]*)\:\/\/.*?\:([\d]+).+?={10,}", request, re.I | re.S)