#10160 fixed xss vulnerability in visual console name
This commit is contained in:
parent
0a4ddc480a
commit
7163b3d853
|
@ -177,7 +177,7 @@ switch ($activeTab) {
|
||||||
$background_color = (string) get_parameter('background_color');
|
$background_color = (string) get_parameter('background_color');
|
||||||
$width = (int) get_parameter('width');
|
$width = (int) get_parameter('width');
|
||||||
$height = (int) get_parameter('height');
|
$height = (int) get_parameter('height');
|
||||||
$visualConsoleName = (string) get_parameter('name');
|
$visualConsoleName = io_safe_input((string) get_parameter('name'));
|
||||||
$is_favourite = (int) get_parameter('is_favourite_sent');
|
$is_favourite = (int) get_parameter('is_favourite_sent');
|
||||||
$auto_adjust = (int) get_parameter('auto_adjust_sent');
|
$auto_adjust = (int) get_parameter('auto_adjust_sent');
|
||||||
|
|
||||||
|
|
|
@ -357,7 +357,7 @@ final class Container extends Model
|
||||||
$config['dbpass'].$row['id'].$config['id_user']
|
$config['dbpass'].$row['id'].$config['id_user']
|
||||||
);
|
);
|
||||||
|
|
||||||
return \io_safe_output($row);
|
return $row;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue