Author: remy.maucherat(a)jboss.com
Date: 2008-03-14 13:23:40 -0400 (Fri, 14 Mar 2008)
New Revision: 504
Added:
tags/JBOSSWEB_2_1_0_GA/build.properties
Modified:
tags/JBOSSWEB_2_1_0_GA/java/org/apache/catalina/connector/Response.java
Log:
- Add properties file.
Added: tags/JBOSSWEB_2_1_0_GA/build.properties
===================================================================
--- tags/JBOSSWEB_2_1_0_GA/build.properties (rev 0)
+++ tags/JBOSSWEB_2_1_0_GA/build.properties 2008-03-14 17:23:40 UTC (rev 504)
@@ -0,0 +1,6 @@
+# ----- Vesion Control Flags -----
+version.major=2
+version.minor=1
+version.build=0
+version.patch=14
+version.tag=GA
Property changes on: tags/JBOSSWEB_2_1_0_GA/build.properties
___________________________________________________________________
Name: svn:eol-style
+ native
Modified: tags/JBOSSWEB_2_1_0_GA/java/org/apache/catalina/connector/Response.java
===================================================================
--- tags/JBOSSWEB_2_1_0_GA/java/org/apache/catalina/connector/Response.java 2008-03-14
17:12:28 UTC (rev 503)
+++ tags/JBOSSWEB_2_1_0_GA/java/org/apache/catalina/connector/Response.java 2008-03-14
17:23:40 UTC (rev 504)
@@ -65,6 +65,10 @@
implements HttpServletResponse {
+ protected static final boolean FORCE_V1_COOKIES =
+
Boolean.valueOf(System.getProperty("org.apache.catalina.connector.Response.FORCE_V1_COOKIES",
"false")).booleanValue();
+
+
// ----------------------------------------------------------- Constructors
static {
@@ -950,6 +954,10 @@
if (included)
return;
+ if (FORCE_V1_COOKIES) {
+ cookie.setVersion(1);
+ }
+
addCookieInternal(cookie);
}
Show replies by date