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
While I imagine it is expected to provide a URL without scheme as with Go imports, the resulting stripping of the domain name is counter intuitive and an issue some might not notice straight away.
The text was updated successfully, but these errors were encountered:
What is the URL of the page with the issue?
https://pkg.go.dev/badge/
What did you do?
I entered a URL to a GitHub repository for a Go project of mine, but inclusive of the scheme
https://
.What did you expect to see?
A badge URL correctly generated with the scheme stripped but
github.com
maintained in the URI to the reference page for the repository.What did you see instead?
If you enter a full URL to a GitHub repo for your Go project, including the HTTP scheme, the badge generator will strip the domain name. For example:
https://pkg.go.dev/badge/?path=https://github.com/golang/go
Will generate:
While I imagine it is expected to provide a URL without scheme as with Go imports, the resulting stripping of the domain name is counter intuitive and an issue some might not notice straight away.
The text was updated successfully, but these errors were encountered: