Skip to content

Commit

Permalink
internal/report: fix MITRE link
Browse files Browse the repository at this point in the history
Add "www" to MITRE link prefix so that the link displayed in
"cve publish" works.

Change-Id: I5d066e301b7d39addbc6cfa104576d855beb253b
Reviewed-on: https://go-review.googlesource.com/c/vulndb/+/455858
Auto-Submit: Tatiana Bradley <tatiana@golang.org>
Run-TryBot: Tatiana Bradley <tatiana@golang.org>
Reviewed-by: Tatiana Bradley <tatiana@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Damien Neil <dneil@google.com>
  • Loading branch information
tatianab authored and gopherbot committed Dec 7, 2022
1 parent aeb44f8 commit a0dc784
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/report/report.go
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ func (r *Report) GetAliases() []string {

const (
NISTPrefix = "https://nvd.nist.gov/vuln/detail/"
MITREPrefix = "https://cve.org/CVERecord?id="
MITREPrefix = "https://www.cve.org/CVERecord?id="
ghsaURLPrefix = "https://github.com/advisories/"
goURLPrefix = "https://pkg.go.dev/vuln/"
)
Expand Down

0 comments on commit a0dc784

Please sign in to comment.