Skip to content
Snippets Groups Projects
Commit b46a9551 authored by Demian Katz's avatar Demian Katz
Browse files

Fixed inadequate escaping bug.

parent ac3c1b52
No related merge requests found
......@@ -79,7 +79,7 @@ class JqueryValidation extends AbstractHelper
$output .= ',';
}
$translator = $this->getView()->plugin('translate');
$message = $translator($message);
$message = addslashes($translator($message));
$output .= "$rule:'$message'";
$first = false;
}
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment