aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--index.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/index.php b/index.php
index 4068a828..c26f50d1 100644
--- a/index.php
+++ b/index.php
@@ -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) {