Skip to content
Snippets Groups Projects
Commit 7752dc4c authored by Dries Buytaert's avatar Dries Buytaert
Browse files

- Fixed small bug in account.php with some usernames not being tolerated.
parent d67486f7
No related branches found
No related tags found
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
......@@ -394,12 +394,6 @@ function account_track_site() {
$theme->footer();
}
// Security check:
if (strstr($name, " ") || strstr($hash, " ")) {
watchdog("error", "account: attempt to provide malicious input through URI");
exit();
}
switch ($op) {
case t("E-mail new password"):
account_email_submit(check_input($userid), check_input($email));
......
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