summaryrefslogtreecommitdiffstats
path: root/core/Controller
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2018-02-26 13:38:39 +0100
committerGitHub <noreply@github.com>2018-02-26 13:38:39 +0100
commit226e63695f37d54f673fe563ca183ea3cc9b8c7a (patch)
tree9336aec1c4a2b78686606da480d0d818c6869b57 /core/Controller
parent695e32d0a66c6c5293291c3f31c5458fd5c248db (diff)
parenta097ecded7e663d983571d272dfed07f890ba4f2 (diff)
downloadnextcloud-server-226e63695f37d54f673fe563ca183ea3cc9b8c7a.tar.gz
nextcloud-server-226e63695f37d54f673fe563ca183ea3cc9b8c7a.zip
Merge pull request #8026 from nextcloud/feature/noid/allow-custom-html-in-html-emails
Allow custom HTML in HTML Emails
Diffstat (limited to 'core/Controller')
-rw-r--r--core/Controller/LostController.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/Controller/LostController.php b/core/Controller/LostController.php
index e7462180388..90a1176ae83 100644
--- a/core/Controller/LostController.php
+++ b/core/Controller/LostController.php
@@ -321,12 +321,12 @@ class LostController extends Controller {
$emailTemplate->addHeading($this->l10n->t('Password reset'));
$emailTemplate->addBodyText(
- $this->l10n->t('Click the following button to reset your password. If you have not requested the password reset, then ignore this email.'),
+ htmlspecialchars($this->l10n->t('Click the following button to reset your password. If you have not requested the password reset, then ignore this email.')),
$this->l10n->t('Click the following link to reset your password. If you have not requested the password reset, then ignore this email.')
);
$emailTemplate->addBodyButton(
- $this->l10n->t('Reset your password'),
+ htmlspecialchars($this->l10n->t('Reset your password')),
$link,
false
);