Fix for an Issue #653

This commit is contained in:
Miroslav Stampar 2014-03-25 21:26:22 +01:00
parent 930c3e3c5a
commit 3710a7051b

View File

@ -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)