mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-03 22:31:34 +00:00
Fixes #5536
This commit is contained in:
parent
e0ec2fcdbd
commit
1740f6332e
3 changed files with 12 additions and 4 deletions
|
|
@ -641,7 +641,7 @@ class Connect(object):
|
|||
responseHeaders = conn.info()
|
||||
responseHeaders[URI_HTTP_HEADER] = conn.geturl() if hasattr(conn, "geturl") else url
|
||||
|
||||
if hasattr(conn, "redurl"):
|
||||
if getattr(conn, "redurl", None) is not None:
|
||||
responseHeaders[HTTP_HEADER.LOCATION] = conn.redurl
|
||||
|
||||
responseHeaders = patchHeaders(responseHeaders)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue