mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-25 19:13:48 +03:00
Closes #1372
This commit is contained in:
parent
89292ce1f9
commit
50d39d0252
|
@ -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():
|
||||
|
|
Loading…
Reference in New Issue
Block a user