Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
cctags
Commits
02a461a8
Commit
02a461a8
authored
Mar 27, 2012
by
Helg
Browse files
Bug fixed - XSS in cctags
parent
c1e78c08
Changes
1
Hide whitespace changes
Inline
Side-by-side
cctags.module
View file @
02a461a8
...
...
@@ -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
;
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment