Add validation for customizable GUI setting fields and test submitted values before allowing them to be stored. Also ensure that dashboardcolumns is an integer before using it in the GUI.
(cherry picked from commit 9ceace2562e718b9b460633847c12050fff96640)
Related issues
Bug #8726: Lack of input validation on custom GUI/dashboard settings leads to potential XSS
Validation for GUI custom settings. Fixes #8726
Add validation for customizable GUI setting fields and test submitted
values before allowing them to be stored.
Also ensure that dashboardcolumns is an integer before using it in the
GUI.
(cherry picked from commit 9ceace2562e718b9b460633847c12050fff96640)