Skip to content

Commit 3259d65

Browse files
authored
[5.x] Sanitize password reset form redirect value (#14327)
1 parent cdf7ab4 commit 3259d65

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Auth/UserTags.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -444,7 +444,7 @@ public function resetPasswordForm()
444444
$html .= '<input type="hidden" name="token" value="'.$token.'" />';
445445

446446
if ($redirect) {
447-
$html .= '<input type="hidden" name="redirect" value="'.$redirect.'" />';
447+
$html .= '<input type="hidden" name="redirect" value="'.e($redirect).'" />';
448448
}
449449

450450
$html .= $this->parse($data);

0 commit comments

Comments
 (0)