x/pkgsite: source file links for unknown hosts should not link to self #73333
Labels
BugReport
Issues describing a possible bug in the Go implementation.
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
pkgsite
Milestone
What is the URL of the page with the issue?
https://pkg.go.dev/go.lindenii.runxiyu.org/forge@v0.1.41/forged/cmd/forge
What is your user agent?
Mozilla/5.0 (X11; Linux x86_64; rv:120.0) Gecko/20100101 Firefox/120.0
Screenshot
What did you do?
I host some projects on an uncommon software forge.
Tree links are like
/tree/dir/dir/file
appended to the repo root.What did you see happen?
The
View all Source files
andmain.go
anchors refer back to the same page on pkgsite.What did you expect to see?
Both links are removed or greyed out to indicate that pkgsite does not know the URL scheme of the forge.
See also: #69638
The text was updated successfully, but these errors were encountered: