Fix XSS vulnerability
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
This commit is contained in:
parent
ecccb14e2a
commit
5ec90c7155
1 changed files with 1 additions and 1 deletions
|
@ -431,7 +431,7 @@ if (isset($_POST['login']))
|
|||
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) {
|
||||
|
|
Loading…
Reference in a new issue