x/pkgsite: shortcut redirect fails if a trailing slash is added #40166
pkg.go.dev supports shortcuts for packages from the standard library (for example, https://pkg.go.dev/http redirects to https://pkg.go.dev/net/http). However, these don't work if a trailing / is appended to the URL.
Below are the request and the server's response (shortened):
In the case of https://github.com/golang/pkgsite/blob/master/internal/frontend/details.go#L432, the
I have a CL ready but it is based on a fix for #39663.
The text was updated successfully, but these errors were encountered: