fixed: Server side spell checker errors when checking text with single quotes
This commit is contained in:
parent
b4559e8935
commit
baa3c6f01a
2 changed files with 5 additions and 0 deletions
|
|
@ -196,6 +196,10 @@ sub www_spellCheck {
|
|||
while ($session->request->read(my $buffer, 1024)) {
|
||||
$data .= $buffer;
|
||||
}
|
||||
|
||||
# work around TinyMCE JSON encoding bug
|
||||
$data =~ s/([^\\](?:\\\\)*)\\'/$1'/g;
|
||||
|
||||
my $params = JSON->new->utf8->decode($data);
|
||||
|
||||
my $result;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue