mirror of
https://github.com/sqlmapproject/sqlmap
synced 2026-01-28 19:11:30 +01:00
minor update
This commit is contained in:
parent
2220afbdf5
commit
b16b92fe46
1 changed files with 3 additions and 0 deletions
|
|
@ -225,6 +225,9 @@ class Connect:
|
|||
|
||||
headers[HTTPHEADER.HOST] = urlparse.urlparse(url).netloc
|
||||
|
||||
if headers[HTTPHEADER.HOST].endswith(':80'):
|
||||
headers[HTTPHEADER.HOST] = headers[HTTPHEADER.HOST].split(':')[0]
|
||||
|
||||
if auxHeaders:
|
||||
for key, item in auxHeaders.items():
|
||||
headers[key] = item
|
||||
|
|
|
|||
Loading…
Reference in a new issue