diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2015-02-19 16:21:12 +0100 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2015-02-19 16:21:12 +0100 |
commit | 767dd4bde71b708b8ba54665bedb812e40f6e8a3 (patch) | |
tree | 0481551766d12dbe5c42514f8f5a689386e70c4b /core | |
parent | bdc503b03d2f7baa2f0ac9a64264b29c7da83a92 (diff) | |
parent | 912a536c17b8ee6bcd53f9b9f6fb0115387c316e (diff) | |
download | nextcloud-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.js | 2 |
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) { |