mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-04-08 18:55:09 +02:00
Merge branch 'ent-10162-stored-cross-site-scripting-special-days-module' into 'develop'
Ent 10162 stored cross site scripting special days module See merge request artica/pandorafms!5444
This commit is contained in:
commit
f28a4d0f28
@ -900,7 +900,7 @@ class CalendarManager
|
||||
$id_group = get_parameter('id_group', null);
|
||||
$day_code = get_parameter('day_code', null);
|
||||
$id_calendar = get_parameter('id_calendar', null);
|
||||
$description = get_parameter('description', null);
|
||||
$description = io_safe_input(get_parameter('description', null));
|
||||
$change = true;
|
||||
if ($new === false
|
||||
&& ($date === $specialDay->date()
|
||||
|
@ -140,7 +140,7 @@ $inputs[] = [
|
||||
'type' => 'textarea',
|
||||
'name' => 'description',
|
||||
'required' => false,
|
||||
'value' => $specialDay->description(),
|
||||
'value' => io_safe_output($specialDay->description()),
|
||||
'rows' => 50,
|
||||
'columns' => 30,
|
||||
],
|
||||
|
Loading…
x
Reference in New Issue
Block a user