commit | 99721e8a189a1376375e0cc1cda2aba406dc93aa | [log] [tgz] |
---|---|---|
author | Jonathan Amsterdam <jba@google.com> | Thu Sep 09 08:58:30 2021 -0400 |
committer | Jonathan Amsterdam <jba@google.com> | Thu Sep 09 14:37:18 2021 +0000 |
tree | 7f6b0214fa65159855120a99bc26e09e73e4f41a | |
parent | 003ed725bb227eef787c77ae0112fdb4fdf00b34 [diff] |
internal/frontend: serve /vuln Serve the /vuln endpoint with the following behavior: /vuln: redirect to the doc for golang.org/x/vulndb. /vuln/list: display the directory in the vulndb repo containing all vuln reports. /vuln/{ID}: display the vuln with ID, in yaml form, directly from the vulndb repo. For golang/go#48223 Change-Id: Iedfd1e6a4782fa7f1b3c4fc9cc2dcefd453db288 Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/348791 Trust: Jonathan Amsterdam <jba@google.com> Run-TryBot: Jonathan Amsterdam <jba@google.com> TryBot-Result: kokoro <noreply+kokoro@google.com> Reviewed-by: Julie Qiu <julie@golang.org>
Pkg.go.dev is a website for discovering and evaluating Go packages and modules.
You can check it out at https://pkg.go.dev.
If you want to report a bug or have a feature suggestion, please first check the known issues to see if your issue is already being discussed. If an issue does not already exist, feel free to file an issue.
For answers to frequently asked questions, see go.dev/about.
You can also chat with us on the #pkgsite Slack channel on the Gophers Slack.
We would love your help!
Our canonical Git repository is located at go.googlesource.com/pkgsite. There is a mirror of the repository at github.com/golang/pkgsite.
To contribute, please read our contributing guide.
Unless otherwise noted, the Go source files are distributed under the BSD-style license found in the LICENSE file.