mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-06 20:51:31 +00:00
Minor deprecation patch (drei)
This commit is contained in:
@@ -78,7 +78,7 @@ class ReqHandler(_BaseHTTPServer.BaseHTTPRequestHandler):
|
||||
self.send_header(HTTP_HEADER.CONNECTION, "close")
|
||||
|
||||
if content is not None:
|
||||
for match in re.finditer(b"<\!(\w+)\!>", content):
|
||||
for match in re.finditer(b"<!(\w+)!>", content):
|
||||
name = match.group(1)
|
||||
_ = getattr(self, "_%s" % name.lower(), None)
|
||||
if _:
|
||||
|
||||
Reference in New Issue
Block a user