Skip to content

cmd/godoc: search causes panic when full text indexing is disabled. #7364

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

Closed
gopherbot opened this issue Feb 20, 2014 · 3 comments
Closed

cmd/godoc: search causes panic when full text indexing is disabled. #7364

gopherbot opened this issue Feb 20, 2014 · 3 comments

Comments

@gopherbot
Copy link
Contributor

by [email protected]:

What steps will reproduce the problem?

Run with --maxresults=0 to turn off full text indexing:
godoc -http=:7070 -index -v --maxresults=0

Enter a search term that contains one or more characters that cannot be part of an
identifier, such as "-".  A panic will occur, and the client browser will
receive no reply.
@gopherbot
Copy link
Contributor Author

Comment 1 by [email protected]:

This issue was closed by revision golang/tools@804b965.

Status changed to Fixed.

@gopherbot
Copy link
Contributor Author

Comment 2 by dbenbenn:

I can't seem to find revision f7bb19728717; the link
https://code.google.com/p/go/source/detail?r=f7bb19728717 is 404.

@bradfitz
Copy link
Contributor

Comment 3:

The auto-linkifier sucks at understanding sub-repos.  Need to append &repo=tools:
https://code.google.com/p/go/source/detail?r=f7bb197287174c7e84035e0bc66ffd355522ab8b&repo=tools

@golang golang locked and limited conversation to collaborators Jun 25, 2016
This issue was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants