fixed: Server side spell checker errors when checking text with single quotes

This commit is contained in:
Graham Knop 2008-08-25 15:18:15 +00:00
parent b4559e8935
commit baa3c6f01a
2 changed files with 5 additions and 0 deletions

View file

@ -1,4 +1,5 @@
7.6.0
- fixed: Server side spell checker errors when checking text with single quotes
- remove Do Nothing On Delete workflow and allow none to be selected for on delete etc workflow
- remove remnants of realtime workflow selection code
- fixed: Asset view time format problem

View file

@ -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;