Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

x/pkgsite: canonical URL drops fragment #50135

Closed
myitcv opened this issue Dec 13, 2021 · 1 comment
Closed

x/pkgsite: canonical URL drops fragment #50135

myitcv opened this issue Dec 13, 2021 · 1 comment
Labels
FrozenDueToAge NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. pkgsite

Comments

@myitcv
Copy link
Member

myitcv commented Dec 13, 2021

What is the URL of the page with the issue?

https://pkg.go.dev/cuelang.org/go/cue#Attribute

What is your user agent?

Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/97.0.4692.45 Safari/537.36

Screenshot

n/a

What did you do?

Hit the y keyboard shortcut to set the address bar to the canonical URL for the version I am looking at.

What did you expect to see?

The address to change to:

https://pkg.go.dev/cuelang.org/go@v0.4.0/cue#Attribute

What did you see instead?

The address to change to:

https://pkg.go.dev/cuelang.org/go@v0.4.0/cue

(note the missing fragment)

@myitcv myitcv added NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. pkgsite labels Dec 13, 2021
@gopherbot gopherbot added this to the pkgsite/unplanned milestone Dec 13, 2021
@jba jba assigned jba and jamalc and unassigned jba Dec 13, 2021
@gopherbot
Copy link
Contributor

Change https://golang.org/cl/377398 mentions this issue: static/frontend: preserve URL fragment in canonical link

@rsc rsc unassigned jamalc Jun 22, 2022
@golang golang locked and limited conversation to collaborators Jun 22, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
FrozenDueToAge NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. pkgsite
Projects
None yet
Development

No branches or pull requests

4 participants