Commit 02a461a8 authored by Helg's avatar Helg
Browse files

Bug fixed - XSS in cctags

parent c1e78c08
......@@ -164,6 +164,7 @@ function cctags_node_get_terms($node) {
if ($vocs[$term->vid]->tags) {
cctags_invoke_term_count($term);
$term->path = taxonomy_term_path($term);
$term->name = check_plain($term->name);
$tags[$term->vid][$tid] = $term;
}
}
......@@ -527,6 +528,7 @@ function cctags_get_level_tags($cctid, $mode = 'page') {
$term = $tree[$t];
cctags_invoke_term_count($term);
$term->path = taxonomy_term_path($term);
$term->name = check_plain($term->name);
$terms[] = $term;
}
}
......
Markdown is supported
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