Skip to content
Snippets Groups Projects
Commit 8d410705 authored by Peter Rotich's avatar Peter Rotich
Browse files

Merge pull request #851 from greezybacon/issue/htmlchars


Properly handle htmlchars in web-based posts

Reviewed-By: default avatarPeter Rotich <peter@osticket.com>
parents 95f95787 9a44f77d
No related branches found
No related tags found
No related merge requests found
......@@ -148,7 +148,7 @@ class Thread {
// DELME: When HTML / rich-text is supported
$vars['title'] = Format::htmlchars($vars['title']);
$vars['body'] = Format::htmlchars($vars['body']);
$vars['note'] = Format::htmlchars($vars['note']);
return Note::create($vars, $errors);
}
......@@ -160,7 +160,7 @@ class Thread {
// DELME: When HTML / rich-text is supported
$vars['title'] = Format::htmlchars($vars['title']);
$vars['body'] = Format::htmlchars($vars['body']);
$vars['message'] = Format::htmlchars($vars['message']);
return Message::create($vars, $errors);
}
......@@ -171,7 +171,7 @@ class Thread {
// DELME: When HTML / rich-text is supported
$vars['title'] = Format::htmlchars($vars['title']);
$vars['body'] = Format::htmlchars($vars['body']);
$vars['response'] = Format::htmlchars($vars['response']);
return Response::create($vars, $errors);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment