geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jgenen...@apache.org
Subject svn commit: r572973 - /geronimo/sandbox/AsyncHttpClient/src/main/java/org/apache/ahc/codec/HttpDecoder.java
Date Wed, 05 Sep 2007 15:39:41 GMT
Author: jgenender
Date: Wed Sep  5 08:39:41 2007
New Revision: 572973

URL: http://svn.apache.org/viewvc?rev=572973&view=rev
Log:
Fix domain for cookie

Modified:
    geronimo/sandbox/AsyncHttpClient/src/main/java/org/apache/ahc/codec/HttpDecoder.java

Modified: geronimo/sandbox/AsyncHttpClient/src/main/java/org/apache/ahc/codec/HttpDecoder.java
URL: http://svn.apache.org/viewvc/geronimo/sandbox/AsyncHttpClient/src/main/java/org/apache/ahc/codec/HttpDecoder.java?rev=572973&r1=572972&r2=572973&view=diff
==============================================================================
--- geronimo/sandbox/AsyncHttpClient/src/main/java/org/apache/ahc/codec/HttpDecoder.java (original)
+++ geronimo/sandbox/AsyncHttpClient/src/main/java/org/apache/ahc/codec/HttpDecoder.java Wed
Sep  5 08:39:41 2007
@@ -201,6 +201,9 @@
                 cookie.setExpires(DateUtil.parseDate(nameValue[1]));
             }
 
+            if (name.equalsIgnoreCase(COOKIE_DOMAIN)) {
+                cookie.setDomain(nameValue[1]);
+            }
         }
 
         return cookie;



Mime
View raw message