This commit is contained in:
Miroslav Stampar 2015-08-30 23:15:50 +02:00
parent 89292ce1f9
commit 50d39d0252

View File

@ -314,7 +314,7 @@ def _feedTargetsDict(reqFile, addedTargetUrls):
# Headers
elif re.search(r"\A\S+:", line):
key, value = line.split(":", 1)
value = value.replace("\r", "").replace("\n", "")
value = value.strip().replace("\r", "").replace("\n", "")
# Cookie and Host headers
if key.upper() == HTTP_HEADER.COOKIE.upper():