[Phpmyadmin-git] [SCM] phpMyAdmin branch, QA_3_4, updated. RELEASE_3_4_2RC1-10-g7996a36

Marc Delisle lem9 at users.sourceforge.net
Sun Jun 5 12:31:14 CEST 2011


The branch, QA_3_4 has been updated
       via  7996a365756f08c2175d996e1fa9efd3829c4b96 (commit)
      from  86d3b7e58c7e87b3ee1fb9cc0fcb08dd2e73d24e (commit)


- Log -----------------------------------------------------------------
-----------------------------------------------------------------------

Summary of changes:
 ChangeLog |    1 +
 js/sql.js |    2 ++
 2 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index b27d7db..3bc2610 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -6,6 +6,7 @@
 - patch #3304473 [setup] Redefine a lable that was wrong
 - bug #3304544 [parser] master is not a reserved word
 - bug #3307616 [edit] Inline edit updates multiple duplicate rows
+- patch #3311539 [edit] Inline edit does not escape backslashes
 
 3.4.2.0 (not yet released)
 - bug #3301249 [interface] Iconic table operations does not remove inline edit label
diff --git a/js/sql.js b/js/sql.js
index 739e5d1..73a2b78 100644
--- a/js/sql.js
+++ b/js/sql.js
@@ -944,6 +944,8 @@ $(document).ready(function() {
 
         //Remove the last ',' appended in the above loop
         sql_query = sql_query.replace(/,\s$/, '');
+        //Fix non-escaped backslashes
+        sql_query = sql_query.replace(/\\/g, '\\\\');
         new_clause = new_clause.substring(0, new_clause.length-5);
         new_clause = PMA_urlencode(new_clause);
         sql_query += ' WHERE ' + PMA_urldecode(where_clause);


hooks/post-receive
-- 
phpMyAdmin




More information about the Git mailing list