diff --git a/pandora_console/godmode/wizards/HostDevices.class.php b/pandora_console/godmode/wizards/HostDevices.class.php index 14ff80b163..7abfe15d5d 100755 --- a/pandora_console/godmode/wizards/HostDevices.class.php +++ b/pandora_console/godmode/wizards/HostDevices.class.php @@ -339,7 +339,7 @@ class HostDevices extends Wizard // Forbidden chars cleaning. foreach ($network as $key => $singleNetwork) { - $network[$key] = preg_replace('/[A-Za-z-()\']/', '', $singleNetwork); + $network[$key] = preg_replace('/[-()\']/', '', $singleNetwork); } unlink($_FILES['network_csv']['tmp_name']);