Handle UTF-8 characters in asset titles in the trash. Fixes bug #12385.
This commit is contained in:
parent
2d83f3c0d1
commit
ef6eabfa9e
2 changed files with 2 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue