mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-29 08:45:12 +02:00
Fixedd XSS on load filter event name
This commit is contained in:
parent
90a5a1c1a3
commit
2f3cae8d61
@ -1472,7 +1472,7 @@ try {
|
|||||||
$active_filters_div .= '<div class="label box-shadow">'.__('Current filter').'</div>';
|
$active_filters_div .= '<div class="label box-shadow">'.__('Current filter').'</div>';
|
||||||
$active_filters_div .= '<div id="current_filter" class="content">';
|
$active_filters_div .= '<div id="current_filter" class="content">';
|
||||||
if ($loaded_filter !== false) {
|
if ($loaded_filter !== false) {
|
||||||
$active_filters_div .= io_safe_output($loaded_filter['id_name']);
|
$active_filters_div .= htmlentities(io_safe_output($loaded_filter['id_name']));
|
||||||
} else {
|
} else {
|
||||||
$active_filters_div .= __('Not set.');
|
$active_filters_div .= __('Not set.');
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user