bernd commited on 2007-06-16 14:48:23
Zeige 1 geänderte Dateien mit 2 Einfügungen und 2 Löschungen.
git-svn-id: https://svn.schokokeks.org/repos/tools/webinterface/trunk@508 87cf0b9e-d624-0410-a070-f6ee81989793
| ... | ... |
@@ -17,9 +17,9 @@ DEBUG("GET: ".htmlentities(print_r($_GET, true))." / POST: ".htmlentities(print_
|
| 17 | 17 |
if ($_GET['action'] == 'new') |
| 18 | 18 |
{
|
| 19 | 19 |
check_form_token('jabber_new_account');
|
| 20 |
- if ($_POST['local'] == '' || |
|
| 20 |
+ if (filter_input_username($_POST['local']) == '' || |
|
| 21 | 21 |
$_POST['domain'] == '' || |
| 22 |
- $_POST['password'] == '') |
|
| 22 |
+ filter_shell($_POST['password']) == '') |
|
| 23 | 23 |
{
|
| 24 | 24 |
input_error('Sie müssen alle Felder ausfüllen!');
|
| 25 | 25 |
} |
| 26 | 26 |