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: handle queries with https:// and http:// scheme(strip schemes from searches) #40141

epelc opened this issue Jul 10, 2020 · 2 comments


Copy link

@epelc epelc commented Jul 10, 2020

What did you do?

Go to pkg site and search

Doesn't work with scheme:

Works without scheme:

PS I am aware package names do not include the scheme. This is more an ease of use search feature.

What did you expect to see?

Results for

What did you see instead?

404 page

I believe https:// and http:// should automatically be stripped from queries. You should be able to easily copy a url from a repo site like github and paste into the search without modifying for projects which don't have a doc link setup. This is very common and should be handled automatically.

@gopherbot gopherbot added this to the Unreleased milestone Jul 10, 2020
Copy link

@dmitshur dmitshur commented Jul 11, 2020

/cc @julieqiu per owners.

Copy link

@jba jba commented Sep 15, 2020

Dup of #41095.

@jba jba closed this Sep 15, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
5 participants