mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-02-09 08:00:36 +03:00
minor update
This commit is contained in:
parent
2220afbdf5
commit
b16b92fe46
|
@ -225,6 +225,9 @@ class Connect:
|
||||||
|
|
||||||
headers[HTTPHEADER.HOST] = urlparse.urlparse(url).netloc
|
headers[HTTPHEADER.HOST] = urlparse.urlparse(url).netloc
|
||||||
|
|
||||||
|
if headers[HTTPHEADER.HOST].endswith(':80'):
|
||||||
|
headers[HTTPHEADER.HOST] = headers[HTTPHEADER.HOST].split(':')[0]
|
||||||
|
|
||||||
if auxHeaders:
|
if auxHeaders:
|
||||||
for key, item in auxHeaders.items():
|
for key, item in auxHeaders.items():
|
||||||
headers[key] = item
|
headers[key] = item
|
||||||
|
|
Loading…
Reference in New Issue
Block a user