[Pkg-owncloud-commits] [owncloud] 36/73: Fix for cyrillic folder names. ref#oc-1683

David Prévot taffit at alioth.debian.org
Fri Nov 8 23:09:05 UTC 2013


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to annotated tag v4.0.10
in repository owncloud.

commit 95a748152e12e60f5d1f29951aaa46997d0aa25e
Author: Victor Dubiniuk <victor.dubiniuk at gmail.com>
Date:   Tue Sep 11 23:57:13 2012 +0300

    Fix for cyrillic folder names. ref#oc-1683
---
 apps/gallery/lib/tiles.php |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/apps/gallery/lib/tiles.php b/apps/gallery/lib/tiles.php
index 53ea97f..0111684 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(\''.htmlentities($this->stack_name).'\');';
+		return 'javascript:openNewGal(\''.\OCP\Util::sanitizeHTML($this->stack_name).'\');';
 	}
 
 	private $tiles_array;

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud.git



More information about the Pkg-owncloud-commits mailing list