|
|
@ -3502,7 +3502,7 @@ function rcube_http_request()
|
|
|
|
|
|
|
|
|
|
|
|
this.xmlhttp.onreadystatechange = function(){ _ref.xmlhttp_onreadystatechange(); };
|
|
|
|
this.xmlhttp.onreadystatechange = function(){ _ref.xmlhttp_onreadystatechange(); };
|
|
|
|
this.xmlhttp.open('GET', url);
|
|
|
|
this.xmlhttp.open('GET', url);
|
|
|
|
this.xmlhttp.setRequestHeader('X-RoundCube-Referer', bw.get_cookie('sessid'));
|
|
|
|
this.xmlhttp.setRequestHeader('X-RoundCube-Referer', bw.get_cookie('roundcube_sessid'));
|
|
|
|
this.xmlhttp.send(null);
|
|
|
|
this.xmlhttp.send(null);
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
@ -3536,7 +3536,7 @@ function rcube_http_request()
|
|
|
|
this.xmlhttp.onreadystatechange = function() { ref.xmlhttp_onreadystatechange(); };
|
|
|
|
this.xmlhttp.onreadystatechange = function() { ref.xmlhttp_onreadystatechange(); };
|
|
|
|
this.xmlhttp.open('POST', url, true);
|
|
|
|
this.xmlhttp.open('POST', url, true);
|
|
|
|
this.xmlhttp.setRequestHeader('Content-Type', contentType);
|
|
|
|
this.xmlhttp.setRequestHeader('Content-Type', contentType);
|
|
|
|
this.xmlhttp.setRequestHeader('X-RoundCube-Referer', bw.get_cookie('sessid'));
|
|
|
|
this.xmlhttp.setRequestHeader('X-RoundCube-Referer', bw.get_cookie('roundcube_sessid'));
|
|
|
|
this.xmlhttp.send(req_body);
|
|
|
|
this.xmlhttp.send(req_body);
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|