mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-29 13:03:50 +03:00
Closes #1372
This commit is contained in:
parent
89292ce1f9
commit
50d39d0252
|
@ -314,7 +314,7 @@ def _feedTargetsDict(reqFile, addedTargetUrls):
|
||||||
# Headers
|
# Headers
|
||||||
elif re.search(r"\A\S+:", line):
|
elif re.search(r"\A\S+:", line):
|
||||||
key, value = line.split(":", 1)
|
key, value = line.split(":", 1)
|
||||||
value = value.replace("\r", "").replace("\n", "")
|
value = value.strip().replace("\r", "").replace("\n", "")
|
||||||
|
|
||||||
# Cookie and Host headers
|
# Cookie and Host headers
|
||||||
if key.upper() == HTTP_HEADER.COOKIE.upper():
|
if key.upper() == HTTP_HEADER.COOKIE.upper():
|
||||||
|
|
Loading…
Reference in New Issue
Block a user