Skip to content

bug: --project, --area and --tag filter values are used as LIKE patterns unescaped #262

Closed

Description

@ryanlewis

The list filters match titles with SQL LIKE, and the value is used as the pattern without escaping. So things --project '%' matches every project (and, since #260, lifts the closed-project fold for all of them at once), and a project, area or tag whose title contains % or _ matches more than itself. Pre-existing; found by the review on #260.

Expected

Filter values are escaped for LIKE (%, _, and the escape character) with an ESCAPE clause, so a value matches titles literally, case-insensitively as today. Golden SQL test updated for exactly the filter-carrying cases; a test with a % in a title.

Notes

Not a parity gap, a matching bug. Small.

Activity

  1. added
    bug
    on Sep 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions