glyn 02/03/06 05:54:59
Modified: java/src/org/apache/axis/transport/http
SimpleAxisServer.java
Log:
Prevent cookie2 from being incorrectly carried from request to request.
Revision Changes Path
1.54 +2 -2
xml-axis/java/src/org/apache/axis/transport/http/SimpleAxisServer.java
Index: SimpleAxisServer.java
===================================================================
RCS file:
/home/cvs/xml-axis/java/src/org/apache/axis/transport/http/SimpleAxisServer.java,v
retrieving revision 1.53
retrieving revision 1.54
diff -u -r1.53 -r1.54
--- SimpleAxisServer.java 26 Feb 2002 15:23:22 -0000 1.53
+++ SimpleAxisServer.java 6 Mar 2002 13:54:59 -0000 1.54
@@ -235,7 +235,7 @@
// wipe cookies if we're doing sessions
if (doSessions) {
cookie.delete(0, cookie.length());
- cookie2.delete(0, cookie.length());
+ cookie2.delete(0, cookie2.length());
}
authInfo.delete(0, authInfo.length());
@@ -443,7 +443,7 @@
.append(cooky)
.append("\r\nSet-Cookie2: ")
.append(cooky);
- // OH, THE HUMANITY! yes this is inefficient.
+ // OH, THE HUMILITY! yes this is inefficient.
out.write(cookieOut.toString().getBytes());
}