Handle UTF-8 characters in asset titles in the trash. Fixes bug #12385.

This commit is contained in:
Colin Kuskie 2012-09-12 09:20:27 -07:00
parent 2d83f3c0d1
commit ef6eabfa9e
2 changed files with 2 additions and 1 deletions

View file

@ -5,6 +5,7 @@
- fixed #12339: Upgrade to 7.10 causes metadata values to "disappear" (Dale Trexel)
- Upgraded TinyMCE to 3.5.6
- fixed #12362: Thingy default Y/N field overly default
- fixed #12385: UTF-8 characters in Asset title break the Trash
7.10.26
- fixed: Template diagnostics when called without a session asset.

View file

@ -520,7 +520,7 @@ sub www_manageTrash {
\n";
# To avoid string escaping issues
my $json = JSON->new;
my $json = JSON->new->utf8(1);
my $amethod = sub {
my ($method, @args) = @_;
my $array = $json->encode(\@args);