blob: 7c2d16f255696684f3418b7d9fcb3198db715377 [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 --
unfixed url: "https://github.com/golang/go/commit/12345" should be "https://go.googlesource.com/+/12345"
unfixed url: "https://github.com/golang/go/issues/12345" should be "https://go.dev/issue/12345"
unfixed url: "https://golang.org/xxx" should be "https://go.dev/xxx"
unfixed url: "https://groups.google.com/forum/#!/golang-announce/12345/1/" should be "https://groups.google.com/g/golang-announce/c/12345/m/1/"