diff options
author | Bjoern Schiessle <schiessle@owncloud.com> | 2012-06-22 14:11:57 +0200 |
---|---|---|
committer | Bjoern Schiessle <schiessle@owncloud.com> | 2012-06-22 14:11:57 +0200 |
commit | e1fa9c282bd268efdcb09a63fcfbd0a68ee11a7a (patch) | |
tree | 56367ece561406ef7d1b7378c212ac8f98421d7f /apps/gallery/lib | |
parent | 033d372f986bb91c3772ad5130361387990d6ce3 (diff) | |
download | nextcloud-server-e1fa9c282bd268efdcb09a63fcfbd0a68ee11a7a.tar.gz nextcloud-server-e1fa9c282bd268efdcb09a63fcfbd0a68ee11a7a.zip |
xss vulnerabilities fixed
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 2bc8d4fcce0..011168471f0 100644 --- a/apps/gallery/lib/tiles.php +++ b/apps/gallery/lib/tiles.php @@ -168,7 +168,7 @@ class TileStack extends TileBase { } public function getOnClickAction() { - return 'javascript:openNewGal(\''.$this->stack_name.'\');'; + return 'javascript:openNewGal(\''.\OCP\Util::sanitizeHTML($this->stack_name).'\');'; } private $tiles_array; |