Skip to content
Snippets Groups Projects
Commit b6c862b3 authored by Björn Schießle's avatar Björn Schießle
Browse files

use sanitizeHTML() function

Conflicts:

	apps/gallery/lib/tiles.php
parent e5171da3
No related branches found
No related tags found
No related merge requests found
......@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment