patch #3311539 Inline Edit does not escape backslash
This commit is contained in:
@@ -6,6 +6,7 @@
|
|||||||
- patch #3304473 [setup] Redefine a lable that was wrong
|
- patch #3304473 [setup] Redefine a lable that was wrong
|
||||||
- bug #3304544 [parser] master is not a reserved word
|
- bug #3304544 [parser] master is not a reserved word
|
||||||
- bug #3307616 [edit] Inline edit updates multiple duplicate rows
|
- 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)
|
3.4.2.0 (not yet released)
|
||||||
- bug #3301249 [interface] Iconic table operations does not remove inline edit label
|
- bug #3301249 [interface] Iconic table operations does not remove inline edit label
|
||||||
|
@@ -944,6 +944,8 @@ $(document).ready(function() {
|
|||||||
|
|
||||||
//Remove the last ',' appended in the above loop
|
//Remove the last ',' appended in the above loop
|
||||||
sql_query = sql_query.replace(/,\s$/, '');
|
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 = new_clause.substring(0, new_clause.length-5);
|
||||||
new_clause = PMA_urlencode(new_clause);
|
new_clause = PMA_urlencode(new_clause);
|
||||||
sql_query += ' WHERE ' + PMA_urldecode(where_clause);
|
sql_query += ' WHERE ' + PMA_urldecode(where_clause);
|
||||||
|
Reference in New Issue
Block a user