Merge pull request #14267 from owncloud/encode-eventsource
Encode requesttoken
This commit is contained in:
commit
767dd4bde7
|
@ -49,7 +49,7 @@ OC.EventSource=function(src,data){
|
||||||
dataStr+=name+'='+encodeURIComponent(data[name])+'&';
|
dataStr+=name+'='+encodeURIComponent(data[name])+'&';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
dataStr+='requesttoken='+oc_requesttoken;
|
dataStr+='requesttoken='+encodeURIComponent(oc_requesttoken);
|
||||||
if(!this.useFallBack && typeof EventSource !== 'undefined'){
|
if(!this.useFallBack && typeof EventSource !== 'undefined'){
|
||||||
joinChar = '&';
|
joinChar = '&';
|
||||||
if(src.indexOf('?') === -1) {
|
if(src.indexOf('?') === -1) {
|
||||||
|
|
Loading…
Reference in New Issue