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

Fallback on mysql_escape_string to escape string if no connection initialized.

    XMLWordPrintable

Details

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Medium Medium
    • 4.7.0alpha1
    • None
    • Database related
    • None

    Description

      eZMySQLiDB::escapeString() returns an unescaped string if no connection is made.

      mysql_escape_string() can be used in this case. Although not so secure, better than no escaping at all!

      Attachments

        Activity

          People

            e8318ba6-e4ae-477c-9116-36c073bd11a3@accounts.ibexa.co Patrick Allaert
            e8318ba6-e4ae-477c-9116-36c073bd11a3@accounts.ibexa.co Patrick Allaert
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: