Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-18969

Make $db->escapeString() escape underscores on demand

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Open
    • Priority: High
    • Resolution: Unresolved
    • Affects Version/s: 4.6.0
    • Fix Version/s: Future
    • Component/s: Database related
    • Labels:
      None

      Description

      $db->escapeString() does not escape underscores (which are considered as wildcards in MySQL), but it should at least on demand.

      Consider adding a flag parameter to this method.

        Attachments

          Activity

            People

            • Assignee:
              jv@ez.no Jérôme Vieilledent
              Reporter:
              jv@ez.no Jérôme Vieilledent
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated: