mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-04 14:55:40 +00:00
Fixes #2302
This commit is contained in:
parent
42cea2e03c
commit
f6815df5c3
3 changed files with 4 additions and 4 deletions
|
|
@ -482,7 +482,7 @@ class Connect(object):
|
|||
else:
|
||||
page = Connect._connReadProxy(conn) if not skipRead else None
|
||||
|
||||
code = code or conn.code
|
||||
code = code or (conn.code if conn else None)
|
||||
responseHeaders = conn.info()
|
||||
responseHeaders[URI_HTTP_HEADER] = conn.geturl()
|
||||
page = decodePage(page, responseHeaders.get(HTTP_HEADER.CONTENT_ENCODING), responseHeaders.get(HTTP_HEADER.CONTENT_TYPE))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue