diff options
author | Bjoern Schiessle <schiessle@owncloud.com> | 2012-06-22 15:58:15 +0400 |
---|---|---|
committer | Bjoern Schiessle <schiessle@owncloud.com> | 2012-06-22 16:03:05 +0400 |
commit | b6c862b32f3e97df37e2bf06aed715334031daba (patch) | |
tree | 0234417331d8d059f7e0a7ca76e70bb8ea431856 | |
parent | e5171da30057253570274f385eb97e411e961f12 (diff) |
use sanitizeHTML() function
Conflicts:
apps/gallery/lib/tiles.php
-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); |