mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-03 22:31:34 +00:00
Fixes #2625
This commit is contained in:
parent
0f9c81965b
commit
1745bac0ab
6 changed files with 14 additions and 13 deletions
|
|
@ -130,6 +130,8 @@ class Agent(object):
|
|||
if header.upper() == HTTP_HEADER.AUTHORIZATION.upper():
|
||||
origValue = origValue.split(' ')[-1].split(':')[-1]
|
||||
|
||||
origValue = origValue or ""
|
||||
|
||||
if value is None:
|
||||
if where == PAYLOAD.WHERE.ORIGINAL:
|
||||
value = origValue
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue