diff options
-rw-r--r-- | index.php | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -459,7 +459,7 @@ if (isset($_POST['login'])) | |||
459 | else | 459 | else |
460 | { | 460 | { |
461 | ban_loginFailed($conf); | 461 | ban_loginFailed($conf); |
462 | $redir = '&username='. $_POST['login']; | 462 | $redir = '&username='. urlencode($_POST['login']); |
463 | if (isset($_GET['post'])) { | 463 | if (isset($_GET['post'])) { |
464 | $redir .= '&post=' . urlencode($_GET['post']); | 464 | $redir .= '&post=' . urlencode($_GET['post']); |
465 | foreach (array('description', 'source', 'title') as $param) { | 465 | foreach (array('description', 'source', 'title') as $param) { |