diff --git a/GameEngine/Profile.php b/GameEngine/Profile.php index 145a6a25..617b52f0 100755 --- a/GameEngine/Profile.php +++ b/GameEngine/Profile.php @@ -96,7 +96,7 @@ class Profile { $varray = $database->getProfileVillages($post['uid']); for($i=0;$i<=count($varray)-1;$i++) { $k = trim($post['dname'.$i]); - $name = preg_replace("/[^a-zA-Z0-9_-\s]/", "", $k); + $name = preg_replace("/[^a-zA-Z0-9_\-\s'\"]/", "", $k); $database->setVillageName($varray[$i]['wref'],$database->RemoveXSS($name)); } header("Location: spieler.php?uid=".$post['uid']);