From 6b5edbe6db695f364477cf16b907bcd6cedc03f9 Mon Sep 17 00:00:00 2001 From: Marc Delisle Date: Sat, 1 May 2010 15:19:30 -0400 Subject: [PATCH 1/3] 3.3.4-dev --- Documentation.html | 4 ++-- README | 2 +- libraries/Config.class.php | 2 +- translators.html | 4 ++-- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Documentation.html b/Documentation.html index c72c6902b..93d7eed85 100644 --- a/Documentation.html +++ b/Documentation.html @@ -10,7 +10,7 @@ vim: expandtab ts=4 sw=4 sts=4 tw=78 - phpMyAdmin 3.3.3-dev - Documentation + phpMyAdmin 3.3.4-dev - Documentation @@ -18,7 +18,7 @@ vim: expandtab ts=4 sw=4 sts=4 tw=78 diff --git a/README b/README index 19c8a9073..f9a6e3627 100644 --- a/README +++ b/README @@ -5,7 +5,7 @@ phpMyAdmin - Readme A set of PHP-scripts to manage MySQL over the web. - Version 3.3.3-dev + Version 3.3.4-dev ----------------- http://www.phpmyadmin.net/ diff --git a/libraries/Config.class.php b/libraries/Config.class.php index 57d496460..820cdc853 100644 --- a/libraries/Config.class.php +++ b/libraries/Config.class.php @@ -92,7 +92,7 @@ class PMA_Config */ function checkSystem() { - $this->set('PMA_VERSION', '3.3.3-dev'); + $this->set('PMA_VERSION', '3.3.4-dev'); /** * @deprecated */ diff --git a/translators.html b/translators.html index fbbe5f95e..bb55c5ea6 100644 --- a/translators.html +++ b/translators.html @@ -11,7 +11,7 @@ - phpMyAdmin 3.3.3-dev - Official translators + phpMyAdmin 3.3.4-dev - Official translators @@ -19,7 +19,7 @@ From f57a5cfdf91262e63f2e8a9649412d6fec2dbf54 Mon Sep 17 00:00:00 2001 From: Marc Delisle Date: Sat, 1 May 2010 15:20:38 -0400 Subject: [PATCH 2/3] 3.3.4.0-dev --- ChangeLog | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ChangeLog b/ChangeLog index 7772eb68e..cb8090f0b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -5,6 +5,8 @@ phpMyAdmin - ChangeLog $Id$ $HeadURL: https://phpmyadmin.svn.sourceforge.net/svnroot/phpmyadmin/trunk/phpMyAdmin/ChangeLog $ +3.3.4.0 (not yet released) + 3.3.3.0 (not yet released) - patch #2982480 [navi] Do not group if there would be one table in group, thanks to Lorikeet Lee. From a3a47a429d674bfbac81890c9d24626ed5d3da47 Mon Sep 17 00:00:00 2001 From: Dieter Adriaenssens Date: Mon, 3 May 2010 23:13:11 +0200 Subject: [PATCH 3/3] properly escape import value --- ChangeLog | 1 + libraries/import.lib.php | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index cb8090f0b..f816c2b8f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -6,6 +6,7 @@ $Id$ $HeadURL: https://phpmyadmin.svn.sourceforge.net/svnroot/phpmyadmin/trunk/phpMyAdmin/ChangeLog $ 3.3.4.0 (not yet released) +- bug #2996161 [import] properly escape import value 3.3.3.0 (not yet released) - patch #2982480 [navi] Do not group if there would be one table in group, diff --git a/libraries/import.lib.php b/libraries/import.lib.php index 2f50c5dc3..202d91b78 100644 --- a/libraries/import.lib.php +++ b/libraries/import.lib.php @@ -998,7 +998,7 @@ function PMA_buildSQL($db_name, &$tables, &$analyses = NULL, &$additional_sql = } $tempSQLStr .= (($is_varchar) ? "'" : ""); - $tempSQLStr .= (str_replace("'", "\'", (string)$tables[$i][ROWS][$j][$k])); + $tempSQLStr .= PMA_sqlAddslashes((string)$tables[$i][ROWS][$j][$k]); $tempSQLStr .= (($is_varchar) ? "'" : ""); if ($k != ($num_cols - 1)) {