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

Use of depricated php function - mysql_escape_string

    XMLWordPrintable

Details

    Description

      According to the php doc mysql_real_escape_string should be used instead.

      lib/ezdb/classes/ezmysqldb.php:816: return mysql_escape_string( $str );
      lib/ezdbschema/classes/ezmysqlschema.php:682: if ( function_exists( 'mysql_escape_string' ) )
      lib/ezdbschema/classes/ezmysqlschema.php:683: return mysql_escape_string( $value );

      The cluster code is already using the new function.

      Attachments

        Activity

          People

            rl rl
            rla rla
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: