mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-04 06:50:14 +00:00
Proper patch related to the #3009
This commit is contained in:
parent
c6c1ac02bb
commit
241f7321de
5 changed files with 8 additions and 8 deletions
|
|
@ -61,7 +61,7 @@ def forgeHeaders(items=None, base=None):
|
|||
if items[_] is None:
|
||||
del items[_]
|
||||
|
||||
headers = OrderedDict(base or conf.httpHeaders)
|
||||
headers = OrderedDict(conf.httpHeaders if base is None else base)
|
||||
headers.update(items.items())
|
||||
|
||||
class _str(str):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue