diff --git a/NEWS b/NEWS index 83632bb73..88e8fd542 100644 --- a/NEWS +++ b/NEWS @@ -20,6 +20,7 @@ - removed the limitation that prevented the user of underscore characters in usernames - added Spanish translation, thanks to Ernesto Revilla - added Dutch translation, thanks to Wilco Baan Hofman +- applied a patch from Wilco Baan Hofman to let SOGo works correctly through a Squid proxy 0.9.0-20080208 (1.0 rc5) ------------------------ diff --git a/UI/WebServerResources/generic.js b/UI/WebServerResources/generic.js index a47bbc7c7..54d295755 100644 --- a/UI/WebServerResources/generic.js +++ b/UI/WebServerResources/generic.js @@ -355,7 +355,7 @@ function triggerAjaxRequest(url, callback, userdata, content, headers) { cLength = "" + content.length; http.setRequestHeader("Content-Length", "" + cLength); } - http.send(content); + http.send(content ? content : ""); } else { log("triggerAjaxRequest: error creating HTTP Client!"); diff --git a/UI/WebServerResources/prototype.js b/UI/WebServerResources/prototype.js index e8a445ffd..469e796ed 100644 --- a/UI/WebServerResources/prototype.js +++ b/UI/WebServerResources/prototype.js @@ -1219,7 +1219,7 @@ Ajax.Request = Class.create(Ajax.Base, { this.transport.onreadystatechange = this.onStateChange.bind(this); this.setRequestHeaders(); - this.body = this.method == 'post' ? (this.options.postBody || params) : null; + this.body = this.method == 'post' ? (this.options.postBody || params) : ''; this.transport.send(this.body); /* Force Firefox to handle ready state 4 for synchronous requests */