You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
seankhliao
changed the title
pkgsite: doesn't correctly handle trailing slash in godoc.org redirection
x/pkgsite: doesn't correctly handle trailing slash in godoc.org redirection
Jan 29, 2021
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
Browse to https://godoc.org/github.com/google/go-containerregistry/ (with trailing slash)
...or any godoc.org link to a valid package name, with trailing slash:
https://godoc.org/github.com/google/go-github/
https://godoc.org/github.com/gorilla/mux/
What did you expect to see?
I expected to be redirected to https://pkg.go.dev/github.com/google/go-containerregistry/ (with or without the trailing slash, I have no preference)
...and that's what happens when I browse to https://godoc.org/github.com/google/go-containerregistry (no trailing slash)
What did you see instead?
I was redirected to #43036 which is closed working-as-intended, and seemingly unrelated to my issue.
The text was updated successfully, but these errors were encountered: