Skip to content

Filter boxes need to validate input regex before using it #7112

@negasora

Description

@negasora

Some filter boxes use the input as a regex, and some are missing validation before using it as regex.

Notably:

  • Plugin manager search box
  • Xrefs filter box

This results in nothing matching the filter and the following error printed to stdout:
QString(View)::indexOf(): called on an invalid QRegularExpression object (pattern is '<input here>')

Metadata

Metadata

Assignees

No one assigned

    Labels

    Component: UIIssue needs changes to the user interfaceEffort: TrivialIssue should take < 1 dayImpact: LowIssue is a papercut or has a good, supported workaround

    Type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions