Details
-
Bug
-
Resolution: Fixed
-
Critical
-
COmanage Match 1.0.0 (Suitable Pear)
Description
If an attribute is not marked as "Case Sensitive" (case_sensitive) this is handled by adding a LOWER() clause to the SQL, but the input value is not likewise forced to lower case for the comparison.
MatchService.php (line 489)
// If the attribute is case insensitive, we insert LOWER clauses |
if(!$ruleattr->attribute->case_sensitive) { |
$colclause = "LOWER(" . $colclause . ")"; |
+ $val = strtolower($val); |
} |