diff --git a/editor.php b/editor.php
index 83b53d4..8fab1c0 100644
--- a/editor.php
+++ b/editor.php
@@ -83,7 +83,7 @@ h2 {color: rgba(0,198,255,0.7)}
your device
Browser:
-
+
Your IP:
diff --git a/lib/settings-update.php b/lib/settings-update.php
index be501e6..f4c5b7e 100644
--- a/lib/settings-update.php
+++ b/lib/settings-update.php
@@ -7,7 +7,7 @@ if (!$demoMode && isset($_SESSION['loggedIn']) && $_SESSION['loggedIn'] && isset
$repPosEnd = strpos($settingsContents,'"plugins"');
// Prepare all our vars
- $ICEcoder["root"] = strClean($_POST['root']);
+ $ICEcoder["root"] = xssClean($_POST['root'],"html");
$ICEcoder["checkUpdates"] = isset($_POST['checkUpdates']) && $_POST['checkUpdates'] ? "true" : "false";
$ICEcoder["openLastFiles"] = isset($_POST['openLastFiles']) && $_POST['openLastFiles'] ? "true" : "false";
$ICEcoder["findFilesExclude"] = 'array("'.str_replace(',','","',str_replace(" ","",strClean($_POST['findFilesExclude']))).'")';