blob: 6ed2673ee57aeb732af8ecea41f1b3f1d2643b65 [file] [log] [blame]
Copyright 2023 The Go Authors. All rights reserved.
Use of this source code is governed by a BSD-style
license that can be found in the LICENSE file.
Test: TestLintOffline/references_unfixed
Description: References should not contain non-canonical link formats (that can be auto-fixed).
-- data/reports/GO-0000-0000.yaml --
id: GO-0000-0000
modules:
- module: golang.org/x/net
vulnerable_at: 1.2.3
packages:
- package: golang.org/x/net/http2
summary: A summary
description: description
cves:
- CVE-1234-0000
references:
- fix: https://github.com/golang/go/commit/12345
- report: https://github.com/golang/go/issues/12345
- web: https://golang.org/xxx
- web: https://groups.google.com/forum/#!/golang-announce/12345/1/
-- golden --
references[0] "https://github.com/golang/go/commit/12345": should be "https://go.googlesource.com/+/12345" (can be auto-fixed)
references[1] "https://github.com/golang/go/issues/12345": should be "https://go.dev/issue/12345" (can be auto-fixed)
references[2] "https://golang.org/xxx": should be "https://go.dev/xxx" (can be auto-fixed)
references[3] "https://groups.google.com/forum/#!/golang-announce/12345/1/": should be "https://groups.google.com/g/golang-announce/c/12345/m/1/" (can be auto-fixed)