diff options
author | Bjoern Schiessle <schiessle@owncloud.com> | 2012-06-22 13:58:15 +0200 |
---|---|---|
committer | Bjoern Schiessle <schiessle@owncloud.com> | 2012-06-22 14:03:05 +0200 |
commit | b6c862b32f3e97df37e2bf06aed715334031daba (patch) | |
tree | 0234417331d8d059f7e0a7ca76e70bb8ea431856 /apps/gallery/lib | |
parent | e5171da30057253570274f385eb97e411e961f12 (diff) | |
download | nextcloud-server-b6c862b32f3e97df37e2bf06aed715334031daba.tar.gz nextcloud-server-b6c862b32f3e97df37e2bf06aed715334031daba.zip |
use sanitizeHTML() function
Conflicts:
apps/gallery/lib/tiles.php
Diffstat (limited to 'apps/gallery/lib')
-rw-r--r-- | apps/gallery/lib/tiles.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/gallery/lib/tiles.php b/apps/gallery/lib/tiles.php index dcdf6aa1bfb..53ea97ff05d 100644 --- a/apps/gallery/lib/tiles.php +++ b/apps/gallery/lib/tiles.php @@ -141,7 +141,7 @@ class TileStack extends TileBase { } public function get() { - $r = '<div class="title gallery_div">'.htmlentities($this->stack_name).'</div>'; + $r = '<div class="title gallery_div">'. \OCP\Util::sanitizeHTML($this->stack_name).'</div>'; for ($i = 0; $i < count($this->tiles_array); $i++) { $top = rand(-5, 5); $left = rand(-5, 5); |