summaryrefslogtreecommitdiffstats
path: root/lib/private/Share20
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2018-02-15 12:18:51 +0100
committerJoas Schilling <coding@schilljs.com>2018-02-15 12:18:51 +0100
commit339e32006479daf9e11152c386c34e6b2d757cf2 (patch)
treec7bb185e0e03d3a6766c18fc7ce56f14c8a5b71f /lib/private/Share20
parent350e38396f5c90894fb539d35f7815af93f01570 (diff)
downloadnextcloud-server-339e32006479daf9e11152c386c34e6b2d757cf2.tar.gz
nextcloud-server-339e32006479daf9e11152c386c34e6b2d757cf2.zip
Fix existing usages
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'lib/private/Share20')
-rw-r--r--lib/private/Share20/Manager.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/Share20/Manager.php b/lib/private/Share20/Manager.php
index 0ae96f29ded..cddd8c8d92b 100644
--- a/lib/private/Share20/Manager.php
+++ b/lib/private/Share20/Manager.php
@@ -735,7 +735,7 @@ class Manager implements IManager {
$text = $l->t('%s shared »%s« with you.', [$initiatorDisplayName, $filename]);
$emailTemplate->addBodyText(
- $text . ' ' . $l->t('Click the button below to open it.'),
+ htmlspecialchars($text . ' ' . $l->t('Click the button below to open it.')),
$text
);
$emailTemplate->addBodyButton(