diff options
-rw-r--r-- | index.php | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -431,7 +431,7 @@ if (isset($_POST['login'])) | |||
431 | else | 431 | else |
432 | { | 432 | { |
433 | ban_loginFailed($conf); | 433 | ban_loginFailed($conf); |
434 | $redir = '&username='. $_POST['login']; | 434 | $redir = '&username='. urlencode($_POST['login']); |
435 | if (isset($_GET['post'])) { | 435 | if (isset($_GET['post'])) { |
436 | $redir .= '&post=' . urlencode($_GET['post']); | 436 | $redir .= '&post=' . urlencode($_GET['post']); |
437 | foreach (array('description', 'source', 'title', 'tags') as $param) { | 437 | foreach (array('description', 'source', 'title', 'tags') as $param) { |