Skip to content

OpenGrok search API results don't contain matched content when the search query has quotes and forward slash #4795

@rajputa-deshaw

Description

@rajputa-deshaw

Describe the bug
When the search query contains forward slash inside quotes e.g. "foo/bar", the results returned by the search API do not contain any matched code whereas the opengrok webapp returns the results correctly.

API:
Image

WebApp:

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions