[Pkg-owncloud-commits] [owncloud] 124/134: Backport of #7682 to stable6

David Prévot taffit at moszumanska.debian.org
Fri Apr 18 21:44:08 UTC 2014


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

taffit pushed a commit to branch master
in repository owncloud.

commit a30040411c0068703b781099e64df2b299242117
Author: Lukas Reschke <lukas at statuscode.ch>
Date:   Fri Apr 18 10:36:04 2014 +0200

    Backport of #7682 to stable6
---
 lib/private/eventsource.php | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/lib/private/eventsource.php b/lib/private/eventsource.php
index a83084d..5080b8d 100644
--- a/lib/private/eventsource.php
+++ b/lib/private/eventsource.php
@@ -63,8 +63,9 @@ class OC_EventSource{
 			$type=null;
 		}
 		if($this->fallback) {
+			$fallBackId = OC_Util::sanitizeHTML($this->fallBackId);
 			$response='<script type="text/javascript">window.parent.OC.EventSource.fallBackCallBack('
-				.$this->fallBackId.',"'.$type.'",'.json_encode($data).')</script>'.PHP_EOL;
+				.$fallBackId.',"'.$type.'",'.json_encode($data).')</script>'.PHP_EOL;
 			echo $response;
 		}else{
 			if($type) {

-- 
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