[Pkg-owncloud-commits] [owncloud] 45/55: Backport of #7682 to stable5
David Prévot
taffit at moszumanska.debian.org
Wed Apr 23 19:52:01 UTC 2014
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to annotated tag v5.0.16RC1
in repository owncloud.
commit 93a11362bec7f16e0928b52388524053e6b1e98e
Author: Lukas Reschke <lukas at statuscode.ch>
Date: Fri Apr 18 11:37:24 2014 +0200
Backport of #7682 to stable5
---
lib/eventsource.php | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/lib/eventsource.php b/lib/eventsource.php
index 31d6edc..de50712 100644
--- a/lib/eventsource.php
+++ b/lib/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