Skip to content
Snippets Groups Projects
Commit 29b1c153 authored by Jared Hancock's avatar Jared Hancock
Browse files

Fix XSS vulnerability in account registration

parent e579d478
No related branches found
No related tags found
No related merge requests found
......@@ -13,6 +13,7 @@ if (isset($user) && $user instanceof ClientCreateRequest) {
'username' => $user->getUsername(),
));
}
$info = Format::htmlchars(($errors && $_POST)?$_POST:$info);
?>
<h1>Account Registration</h1>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment