You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by hu...@apache.org on 2023/01/17 16:55:25 UTC
[httpd-site] branch main updated: typo...
This is an automated email from the ASF dual-hosted git repository.
humbedooh pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/httpd-site.git
The following commit(s) were added to refs/heads/main by this push:
new d961922 typo...
d961922 is described below
commit d9619224978013a6876754a3b1aecb5645f3f776
Author: Daniel Gruno <hu...@apache.org>
AuthorDate: Tue Jan 17 17:55:21 2023 +0100
typo...
---
content/security/cvejsontohtml.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/content/security/cvejsontohtml.py b/content/security/cvejsontohtml.py
index f386655..76520b3 100644
--- a/content/security/cvejsontohtml.py
+++ b/content/security/cvejsontohtml.py
@@ -35,7 +35,7 @@ for x in os.listdir(options.directory or "./"):
for cve in cves:
# Establish which version of CVE JSON we are dealing with
data_version = DEFAULT_CVE_DATA_VERSION
- if cve.get("dataType") == "CVE":
+ if cve.get("dataType") == "CVE_RECORD":
data_version = cve.get("dataVersion", DEFAULT_CVE_DATA_VERSION)
if data_version == DEFAULT_CVE_DATA_VERSION: # Old style CVE