diff --git a/users/control/settings.php b/users/control/settings.php index 10f5d16..3a044a3 100644 --- a/users/control/settings.php +++ b/users/control/settings.php @@ -39,7 +39,7 @@ // Update profile picture if (array_key_exists('chpp', $_POST)) { - $seed = $_POST["seed"]; + $seed = preg_replace('/[^A-Za-z0-9\-]/', '', $_POST["seed"]); $sprite = $_POST["slctsprite"]; if ($sprite == "human") { $sprite = $_POST["selectsph"]; diff --git a/version.txt b/version.txt index f2e072d..01fa3f7 100644 --- a/version.txt +++ b/version.txt @@ -1 +1 @@ -v2.2.0-alpha \ No newline at end of file +v2.2.1-alpha \ No newline at end of file