Skip to content

Commit a022aba

Browse files
authored
Merge pull request #13371 from Irfan-Mohd/fix/acunetix-broken-endpoint
fix: handle broken endpoints when <StartURL> includes a port number in Acunetix XML parser
2 parents 0488c83 + faf06f6 commit a022aba

5 files changed

Lines changed: 2025 additions & 1 deletion

File tree

dojo/tools/acunetix/parse_acunetix_xml.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ def get_findings(self, filename, test):
6767
root = parse(filename).getroot()
6868
for scan in root.findall("Scan"):
6969
start_url = scan.findtext("StartURL")
70-
if ":" not in start_url:
70+
if "://" not in start_url:
7171
start_url = "//" + start_url
7272
# get report date
7373
if scan.findtext("StartTime") and scan.findtext("StartTime"):

0 commit comments

Comments
 (0)