summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorLukas Reschke <lukas@owncloud.com>2016-06-09 10:29:48 +0200
committerLukas Reschke <lukas@owncloud.com>2016-06-09 15:15:17 +0200
commit53ba111e21de9c1c3971488911b48fb2aecca112 (patch)
tree3610fcc6a0c5ef6a53c43c700392dc5ad285d1d5 /apps
parent075bf73c80882943acc6c73abbcc026046e6b226 (diff)
downloadnextcloud-server-53ba111e21de9c1c3971488911b48fb2aecca112.tar.gz
nextcloud-server-53ba111e21de9c1c3971488911b48fb2aecca112.zip
Fix XSS
Diffstat (limited to 'apps')
-rw-r--r--apps/files_sharing/templates/public.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_sharing/templates/public.php b/apps/files_sharing/templates/public.php
index 3707bad92f0..500b187e36e 100644
--- a/apps/files_sharing/templates/public.php
+++ b/apps/files_sharing/templates/public.php
@@ -117,7 +117,7 @@ OCP\Util::addscript('files', 'keyboardshortcuts');
<?php } else { ?>
<div id="emptycontent" class="">
<div class="icon-upload"></div>
- <h2>Upload files to <?php print_unescaped($_['shareOwner']); ?></h2>
+ <h2><?php p($l->t('Upload files to %s', [$_['shareOwner']])) ?></h2>
<a href="#" class="inlineblock button">Select</a>
</div>
<?php } ?>