Skip to content

Repo indexer - empty results for specific documents #3383

Closed
@ghost

Description

gitea master version number d29aa76

Trying to use repository indexer, I seen that some results for specific documents (like JSP and JRXML), doesn't show the context:

immagine

The line numbers are rights, but not text is showed in result.

To replicate this kind of problem, try to clone this test repo: https://github.com/1212050/Shopping-web-Jsp-Servlet
and try to search for "jsp" text.
You will see:
immagine

Metadata

Metadata

Assignees

No one assigned

    Labels

    topic/securitySomething leaks user information or is otherwise vulnerable. Should be fixed!type/bug

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions