Skip to content
Snippets Groups Projects
Verified Commit dd107478 authored by Damien's avatar Damien
Browse files

FEAT #11823 TIME 0:10 Fix xss

parent 71042d01
No related branches found
No related tags found
No related merge requests found
......@@ -84,7 +84,7 @@ $content .= '<div id="params">';
while ($res = $stmt->fetchObject()) {
$content .= '<option';
$content .= " value='".$res->type_id."'>";
$content .= $res->description.'</option>';
$content .= functions::xssafe($res->description).'</option>';
}
$content .= '</select>';
$js .= '$j("#doctypes_chosen").chosen({width: "95%", disable_search_threshold: 10, search_contains: true});';
......
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