[phpMyAdmin Git] [phpmyadmin/phpmyadmin] 874220: Fix single quote export for servers in ANSI_QUOTES...

Michal Čihař michal at cihar.com
Mon Dec 7 15:37:33 CET 2015

  Branch: refs/heads/QA_4_5
  Home:   https://github.com/phpmyadmin/phpmyadmin
  Commit: 8742209c6331befcf0c6df630328bcc7795a5e60
  Author: Michal Čihař <michal at cihar.com>
  Date:   2015-12-07 (Mon, 07 Dec 2015)

  Changed paths:
    M ChangeLog
    M libraries/Util.class.php
    M test/libraries/common/PMA_quoting_slashing_test.php

  Log Message:
  Fix single quote export for servers in ANSI_QUOTES mode

It is possible to escape ' inside '' as both '' and \'. However using ''
is MySQL extension and does not work in ANSI mode. We need to generate
compatible exports in this case, so sticking with \' is safer.

Fixes #11721

Signed-off-by: Michal Čihař <michal at cihar.com>

More information about the Git mailing list