commit | 58f7d955f1815c0d56a5b064315f9505f40ef925 | [log] [tgz] |
---|---|---|
author | Julie Qiu <julie@golang.org> | Wed Aug 25 11:44:33 2021 -0400 |
committer | Jonathan Amsterdam <jba@google.com> | Wed Aug 25 16:23:51 2021 +0000 |
tree | 113511863e42645d2747753ca6aed2836f9893bf | |
parent | f56f87325cb901864f64a654a82020dbcc86cd77 [diff] |
internal/frontend: fix github.com/golang/go redirects Previously, any URL with the prefix /github.com/golang/go redirected to their corresponding package page (for example, /std or /cmd/go). However, this also redirected paths like /github.com/golang/gofrontend. This bug is now fixed and a test is added. Fixes golang/go#47957 Change-Id: Iabcc2c57ef9f5365d93911a4971addb8bb5a903d Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/344989 Trust: Julie Qiu <julie@golang.org> Run-TryBot: Julie Qiu <julie@golang.org> TryBot-Result: kokoro <noreply+kokoro@google.com> Reviewed-by: Jonathan Amsterdam <jba@google.com>
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.