Review main Merged

42899[BUGFIX] Escape search strings for LIKE in DatabaseConnection::searchQuery

Morton Jonuschat CR +2 V +2 Easy +10 −2 updated 09/09/15, 10:28

Commit message

LIKE queries support special placeholders (_ and %). These characters
need proper escaping before being used in database queries. Use the
escapeStrForLike() method to provide properly escaped strings to the
query.

Review

  • Code review CR +2
    • Christian Kuhn +2
    • Daniel Goerz +1
    • Alexander Opitz +1
    • Wouter Wolters +1
  • Verified V +2
    • Christian Kuhn +2
    • Alexander Opitz +1

Issues 1

Files 2

Review log 6

  1. Morton Jonuschat uploaded patch set 1 08/28/15, 06:46

  2. Alexander Opitz voted on patch set 1 V +1 CR +1 08/30/15, 13:34

  3. Wouter Wolters voted on patch set 1 CR +1 09/01/15, 15:35

  4. Daniel Goerz voted on patch set 1 CR +1 09/01/15, 16:21

  5. Christian Kuhn voted on patch set 1 CR +2 V +2 09/09/15, 10:28

  6. Christian Kuhn merged patch set 1 09/09/15, 10:28