mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-04 14:55:40 +00:00
Minor refactoring
This commit is contained in:
parent
10b0fd21dc
commit
ea12ccec77
1 changed files with 1 additions and 1 deletions
|
|
@ -278,7 +278,7 @@ def __feedTargetsDict(reqFile, addedTargetUrls):
|
||||||
params = True
|
params = True
|
||||||
|
|
||||||
# Headers
|
# Headers
|
||||||
elif ": " in line:
|
elif re.search(r"\A\S+: ", line):
|
||||||
key, value = line.split(": ", 1)
|
key, value = line.split(": ", 1)
|
||||||
|
|
||||||
# Cookie and Host headers
|
# Cookie and Host headers
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue