From 31e64a0da8f263c5d4a9d9f047cb06a7b30c14c4 Mon Sep 17 00:00:00 2001 From: Andrew Murray Date: Mon, 1 Jul 2024 14:23:36 +1000 Subject: [PATCH] Updated CVE URL --- docs/conf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/conf.py b/docs/conf.py index f12b30e65..41f9c0e38 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -338,7 +338,7 @@ linkcheck_allowed_redirects = { # https://www.sphinx-doc.org/en/master/usage/extensions/extlinks.html _repo = "https://github.com/python-pillow/Pillow/" extlinks = { - "cve": ("https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-%s", "CVE-%s"), + "cve": ("https://www.cve.org/CVERecord?id=CVE-%s", "CVE-%s"), "cwe": ("https://cwe.mitre.org/data/definitions/%s.html", "CWE-%s"), "issue": (_repo + "issues/%s", "#%s"), "pr": (_repo + "pull/%s", "#%s"),