mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-22 09:36:35 +03:00
Minor refactoring
This commit is contained in:
parent
10b0fd21dc
commit
ea12ccec77
|
@ -278,7 +278,7 @@ def __feedTargetsDict(reqFile, addedTargetUrls):
|
|||
params = True
|
||||
|
||||
# Headers
|
||||
elif ": " in line:
|
||||
elif re.search(r"\A\S+: ", line):
|
||||
key, value = line.split(": ", 1)
|
||||
|
||||
# Cookie and Host headers
|
||||
|
|
Loading…
Reference in New Issue
Block a user