Skip to content

Bare "/" is treated as regex #2362

Description

@tv2-thomas

Im using bleve to search for paths, and one of our paths is "/". From what I can tell the escaper will always make / into "/" and the field filter only checks strings.HasPrefix(/) && strings.HasSuffix(/). Without validating length, making this impossible to filter for natively.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions