Skip to content

Commit

Permalink
CVE project has a broken redirect so we need to use www.cve
Browse files Browse the repository at this point in the history
  • Loading branch information
iamamoose committed Nov 17, 2022
1 parent 60cd7c7 commit c4683fb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bin/cvejsontohtml.py
Expand Up @@ -93,7 +93,7 @@ def getbasefor(fixedin):
allissues += "<dt>"
# CVE name
if cve:
allissues += "<a href=\"https://cve.org/CVERecord?id=%s\" name=\"%s\">%s</a> " %(cveid,cveid,cveid)
allissues += "<a href=\"https://www.cve.org/CVERecord?id=%s\" name=\"%s\">%s</a> " %(cveid,cveid,cveid)

# Advisory (use the title instead of openssl advisory)
title= "(OpenSSL Advisory)"
Expand Down Expand Up @@ -188,7 +188,7 @@ def getbasefor(fixedin):
nonissues = ""
for nonissue in disputedcve:
if (not options.base or disputedcve[nonissue]["base"] in (options.base or "none")):
nonissues += "<li><a href=\"https://cve.org/CVERecord?id=%s\" name=\"%s\">%s</a>: " %(nonissue,nonissue,nonissue)
nonissues += "<li><a href=\"https://www.cve.org/CVERecord?id=%s\" name=\"%s\">%s</a>: " %(nonissue,nonissue,nonissue)
nonissues += disputedcve[nonissue]["text"]
nonissues +="</li>"
if (nonissues != ""):
Expand Down

0 comments on commit c4683fb

Please sign in to comment.