]> git.mxchange.org Git - friendica.git/blobdiff - mod/lostpass.php
Merge pull request #6137 from Alkarex/WebSub_fixes
[friendica.git] / mod / lostpass.php
index 57f3d89b4222da07f0454be6073ee0f9970e39c0..42a1764bf93a4561cbcb7e1d266b31fa858d0314 100644 (file)
@@ -19,7 +19,7 @@ require_once 'include/text.php';
 
 function lostpass_post(App $a)
 {
-       $loginame = Strings::removeTags(trim($_POST['login-name']));
+       $loginame = Strings::escapeTags(trim($_POST['login-name']));
        if (!$loginame) {
                $a->internalRedirect();
        }