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