r9699 - helma-ng/trunk/modules/helma/webapp

[email protected] Mon, 4 May 2009 13:52:19 +0200 (CEST)
Newsgroups gmane.comp.java.helma.cvs
Message-ID <20090504115219.7BCEB3D0D6@mia>
Author: hannes
Date: 2009-05-04 13:52:19 +0200 (Mon, 04 May 2009)
New Revision: 9699

Modified:
   helma-ng/trunk/modules/helma/webapp/response.js
Log:
Make sure our jack responses always use an array or array-like object as 3rd element.

Details at http://dev.helma.org/trac/helma/changeset/9699

Modified: helma-ng/trunk/modules/helma/webapp/response.js
===================================================================
--- helma-ng/trunk/modules/helma/webapp/response.js	2009-05-04 11:52:17 UTC (rev 9698)
+++ helma-ng/trunk/modules/helma/webapp/response.js	2009-05-04 11:52:19 UTC (rev 9699)
@@ -162,5 +162,5 @@
 }
 
 function RedirectResponse(location) {
-    return [303, {Location: location}, "See other: " + location];
+    return [303, {Location: location}, ["See other: " + location]];
 }