You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
bug: --project, --area and --tag filter values are used as LIKE patterns unescaped #262
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.
Activity