Project

General

Profile

Actions

Defect #19786

closed

'%' and '_' are treated as SQL wildcards in issue filter

Defect #19786: '%' and '_' are treated as SQL wildcards in issue filter

Added by Go MAEDA over 11 years ago. Updated about 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Issues
Target version:
-
Resolution:
Fixed
Affected version:

Description

Please see the following screenshot. "m_nag%r" matches "manager". Is this an expected behavior?


Files

issue-filter-screenshot.png (55.2 KB) issue-filter-screenshot.png Go MAEDA, 2015-05-08 06:30

Related issues 2 (1 open — 1 closed)

Related to Redmine - Feature #13347: Filtering by issue subject with wildcardNewActions
Related to Redmine - Feature #35073: Escape values in LIKE statements to prevent injection of placeholders (_ or %)ClosedMarius BĂLTEANUActions

Updated by Go MAEDA over 7 years ago Actions #2

  • Related to Feature #13347: Filtering by issue subject with wildcard added

Updated by Stéphane Frath over 7 years ago Actions #3

'%' works as wildcard for me, but '_' does not always work.
I was looking for the wildcard character and found your defect, please do not fix it :)

Updated by Go MAEDA over 5 years ago Actions #4

  • Related to Feature #35073: Escape values in LIKE statements to prevent injection of placeholders (_ or %) added

Updated by Go MAEDA about 5 years ago Actions #5

  • Status changed from New to Closed
  • Resolution set to Fixed

Fixed by #35073.

In the upcoming Redmine 5.0, SQL wildcards will no longer be available, but multiple keywords AND search will be supported instead (#35764).

Actions

Also available in: PDF Atom