From b56447b091992b4e91945d65a973fcdb8fe62891 Mon Sep 17 00:00:00 2001 From: Karl Burkhart Date: Tue, 22 Feb 2011 08:41:02 +0000 Subject: [PATCH] =?UTF-8?q?trim()=20bei=20$username=20->=20damit=20sich=20?= =?UTF-8?q?user=20einloggen=20k=C3=B6nnen=20die=20zum=20usernamen=20ein=20?= =?UTF-8?q?leerzeichen=20dazuschreiben?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- wawi/login.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wawi/login.php b/wawi/login.php index 153b8fb70..2efd15b26 100644 --- a/wawi/login.php +++ b/wawi/login.php @@ -29,7 +29,7 @@ if (isset($_POST['username'])) { session_start(); - $username = $_POST['username']; + $username = trim($_POST['username']); $passwort = $_POST['passwort']; $hostname = $_SERVER['HTTP_HOST'];