Skip to content

Filtrer grep failed with pattern "/" #11937

@tguenneguez

Description

@tguenneguez

Bug Report

Describe the bug
Filtrer grep failed with pattern "/"

If the pattern contains only one character and that character is "/", then fluent-bit crashes due to the parsing performed in the source code available here.
Voir ici

Furthermore, nowhere in the documentation does it specify that if the pattern begins with a "/" and ends with a "/", these two characters are removed.
This has an impact, for example, if you want to search for the text "/tmp/". In this case, you must search for "//tmp//".

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    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