Permalink
Browse files

Fix XSS vulnerability

Signed-off-by: VirtualTam <virtualtam@flibidi.net>
  • Loading branch information...
virtualtam committed Jan 4, 2018
1 parent b6b5314 commit 65c002ca1846ff09a6d97c6e3ce521bb6dccb741
Showing with 1 addition and 1 deletion.
  1. +1 −1 index.php
View
@@ -436,7 +436,7 @@ function ban_canLogin($conf)
else
{
ban_loginFailed($conf);
$redir = '&username='. $_POST['login'];
$redir = '&username='. urlencode($_POST['login']);
if (isset($_GET['post'])) {
$redir .= '&post=' . urlencode($_GET['post']);
foreach (array('description', 'source', 'title', 'tags') as $param) {

0 comments on commit 65c002c

Please sign in to comment.