diff --git a/src/psm/Module/Servers.class.php b/src/psm/Module/Servers.class.php index c1114e31..ac27c2ab 100755 --- a/src/psm/Module/Servers.class.php +++ b/src/psm/Module/Servers.class.php @@ -181,9 +181,9 @@ class Servers extends Core { // check for add/edit mode if (isset($_POST['label']) && isset($_POST['ip']) && isset($_POST['port'])) { $clean = array( - 'label' => $_POST['label'], - 'ip' => $_POST['ip'], - 'port' => $_POST['port'], + 'label' => strip_tags($_POST['label']), + 'ip' => strip_tags($_POST['ip']), + 'port' => strip_tags($_POST['port']), 'type' => $_POST['type'], 'active' => $_POST['active'], 'email' => $_POST['email'],