Skip to content
Snippets Groups Projects
Commit 9a44f77d authored by Jared Hancock's avatar Jared Hancock
Browse files

Properly handle htmlchars in web-based posts

parent bca3d537
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