diff options
author | Bjoern Schiessle <schiessle@owncloud.com> | 2012-07-27 15:35:36 +0200 |
---|---|---|
committer | Bjoern Schiessle <schiessle@owncloud.com> | 2012-07-27 15:35:36 +0200 |
commit | 680eed6bacbbc1f8352c9e8c01521b9c7fa5fff9 (patch) | |
tree | 3f2058134d732101f9898491ea86a7862d1e9556 /core/lostpassword | |
parent | bccd372565225ee98dcfacdd57fe512c89046ba1 (diff) | |
download | nextcloud-server-680eed6bacbbc1f8352c9e8c01521b9c7fa5fff9.tar.gz nextcloud-server-680eed6bacbbc1f8352c9e8c01521b9c7fa5fff9.zip |
fix for bug #1295, don't escape password reset link
Diffstat (limited to 'core/lostpassword')
-rw-r--r-- | core/lostpassword/index.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/lostpassword/index.php b/core/lostpassword/index.php index bd2a3e897e5..8f86fe23aad 100644 --- a/core/lostpassword/index.php +++ b/core/lostpassword/index.php @@ -19,7 +19,7 @@ if (isset($_POST['user'])) { if (!empty($email) and isset($_POST['sectoken']) and isset($_SESSION['sectoken']) and ($_POST['sectoken']==$_SESSION['sectoken']) ) { $link = OC_Helper::linkToAbsolute('core/lostpassword', 'resetpassword.php').'?user='.urlencode($_POST['user']).'&token='.$token; $tmpl = new OC_Template('core/lostpassword', 'email'); - $tmpl->assign('link', $link); + $tmpl->assign('link', $link, false); $msg = $tmpl->fetchPage(); $l = OC_L10N::get('core'); $from = 'lostpassword-noreply@' . OCP\Util::getServerHost(); |