mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-07 05:01:30 +00:00
Make sure the comment is not set to None
This commit is contained in:
@@ -142,7 +142,7 @@ class Response:
|
|||||||
@classmethod
|
@classmethod
|
||||||
def parse(cls, raw):
|
def parse(cls, raw):
|
||||||
altered = raw
|
altered = raw
|
||||||
comment = None
|
comment = ""
|
||||||
|
|
||||||
if altered.startswith("HTTP response ["):
|
if altered.startswith("HTTP response ["):
|
||||||
io = StringIO.StringIO(raw)
|
io = StringIO.StringIO(raw)
|
||||||
|
|||||||
Reference in New Issue
Block a user