Skip to content
Snippets Groups Projects
Commit 767dd4bd authored by Thomas Müller's avatar Thomas Müller
Browse files

Merge pull request #14267 from owncloud/encode-eventsource

Encode requesttoken
parents bdc503b0 912a536c
No related branches found
No related tags found
No related merge requests found
......@@ -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) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment