diff --git a/Sccp_manager.class.php b/Sccp_manager.class.php
index 2caeff1..9ff4fa2 100644
--- a/Sccp_manager.class.php
+++ b/Sccp_manager.class.php
@@ -845,7 +845,7 @@ class Sccp_manager extends \FreePBX_Helpers implements \BMO {
break;
case 'updateSoftKey':
if (!empty($request['id'])) {
- $id_name = preg_replace('/\s/', '', $request['id']);
+ $id_name = preg_replace('/[^A-Za-z0-9]/', '', $request['id']);
$this->sccp_conf_init[$id_name]['type'] = "softkeyset";
foreach ($this->extconfigs->getextConfig('keyset') as $keyl => $vall) {
if (!empty($request[$keyl])) {
diff --git a/views/server.info.php b/views/server.info.php
index 42f3406..8f3e123 100644
--- a/views/server.info.php
+++ b/views/server.info.php
@@ -143,7 +143,7 @@ print_r("
Help Info:
"); foreach ($this->info_warning as $key => $value) { echo ''.$key.'
'; if (is_array($value)) { - echo '