summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2015-02-19 16:21:12 +0100
committerThomas Müller <thomas.mueller@tmit.eu>2015-02-19 16:21:12 +0100
commit767dd4bde71b708b8ba54665bedb812e40f6e8a3 (patch)
tree0481551766d12dbe5c42514f8f5a689386e70c4b /core
parentbdc503b03d2f7baa2f0ac9a64264b29c7da83a92 (diff)
parent912a536c17b8ee6bcd53f9b9f6fb0115387c316e (diff)
downloadnextcloud-server-767dd4bde71b708b8ba54665bedb812e40f6e8a3.tar.gz
nextcloud-server-767dd4bde71b708b8ba54665bedb812e40f6e8a3.zip
Merge pull request #14267 from owncloud/encode-eventsource
Encode requesttoken
Diffstat (limited to 'core')
-rw-r--r--core/js/eventsource.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/js/eventsource.js b/core/js/eventsource.js
index 6f23cebb685..d1cdfda485e 100644
--- a/core/js/eventsource.js
+++ b/core/js/eventsource.js
@@ -49,7 +49,7 @@ OC.EventSource=function(src,data){
dataStr+=name+'='+encodeURIComponent(data[name])+'&';
}
}
- dataStr+='requesttoken='+oc_requesttoken;
+ dataStr+='requesttoken='+encodeURIComponent(oc_requesttoken);
if(!this.useFallBack && typeof EventSource !== 'undefined'){
joinChar = '&';
if(src.indexOf('?') === -1) {