Permalink
Browse files

bug #3598736 [routines] Editing a procedure with special characters

  • Loading branch information...
1 parent f684b31 commit 927831bc5a1ac6369910858c10fcf362ab1eb22e @lem9 lem9 committed Dec 29, 2012
Showing with 2 additions and 1 deletion.
  1. +1 −0 ChangeLog
  2. +1 −1 libraries/rte/rte_routines.lib.php
View
@@ -4,6 +4,7 @@ phpMyAdmin - ChangeLog
3.5.6.0 (not yet released)
- bug #3593604 [status] Erroneous advisor rule
- bug #3596070 [status] localStorage broken in server status monitor
+- bug #3598736 [routines] Editing a procedure with special characters
3.5.5.0 (2012-12-21)
- bug #3563824 [export] Support Apache's mod_deflate
@@ -770,7 +770,7 @@ function PMA_RTN_getEditorForm($mode, $operation, $routine)
'item_comment'
);
foreach ($need_escape as $key => $index) {
- $routine[$index] = htmlentities($routine[$index], ENT_QUOTES);
+ $routine[$index] = htmlentities($routine[$index], ENT_QUOTES, 'UTF-8');
}
for ($i=0; $i<$routine['item_num_params']; $i++) {
$routine['item_param_name'][$i] = htmlentities(

0 comments on commit 927831b

Please sign in to comment.