patch #3311539 Inline Edit does not escape backslash

This commit is contained in:
Jo Michael
2011-06-05 06:29:46 -04:00
committed by Marc Delisle
parent 86d3b7e58c
commit 7996a36575
2 changed files with 3 additions and 0 deletions

View File

@@ -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

View File

@@ -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);