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
|
@ -312,9 +312,9 @@ def _feedTargetsDict(reqFile, addedTargetUrls):
|
|||
params = True
|
||||
|
||||
# Headers
|
||||
elif re.search(r"\A\S+: ", line):
|
||||
key, value = line.split(": ", 1)
|
||||
value = value.replace("\r", "").replace("\n", "")
|
||||
elif re.search(r"\A\S+:", line):
|
||||
key, value = line.split(":", 1)
|
||||
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