summaryrefslogtreecommitdiffstats
path: root/core/js/sharedialogresharerinfoview.js
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2017-06-13 12:14:21 +0200
committerJoas Schilling <coding@schilljs.com>2017-06-13 12:14:21 +0200
commit376fe0e246a735c6e9826091b7915289b7604348 (patch)
tree783ab5a1abc35e0b996552ff0ab6a6403a5fb1bf /core/js/sharedialogresharerinfoview.js
parentc46422b780621d5ac700e7ca2f6ddf7b1386482f (diff)
downloadnextcloud-server-376fe0e246a735c6e9826091b7915289b7604348.tar.gz
nextcloud-server-376fe0e246a735c6e9826091b7915289b7604348.zip
Fix escaping of user and group names in "shared by" message
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'core/js/sharedialogresharerinfoview.js')
-rw-r--r--core/js/sharedialogresharerinfoview.js8
1 files changed, 6 insertions, 2 deletions
diff --git a/core/js/sharedialogresharerinfoview.js b/core/js/sharedialogresharerinfoview.js
index 201484c52a8..8afec33e7eb 100644
--- a/core/js/sharedialogresharerinfoview.js
+++ b/core/js/sharedialogresharerinfoview.js
@@ -80,13 +80,17 @@
{
group: this.model.getReshareWithDisplayName(),
owner: ownerDisplayName
- }
+ },
+ undefined,
+ {escape: false}
);
} else {
sharedByText = t(
'core',
'Shared with you by {owner}',
- { owner: ownerDisplayName }
+ { owner: ownerDisplayName },
+ undefined,
+ {escape: false}
);
}