cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cziege...@apache.org
Subject cvs commit: xml-cocoon2/src/org/apache/cocoon/components/language/markup/xsp XSPCookieHelper.java
Date Fri, 17 Aug 2001 14:29:16 GMT
cziegeler    01/08/17 07:29:16

  Modified:    src/org/apache/cocoon/components/language/markup/xsp
                        XSPCookieHelper.java
  Log:
  Patch for XSPCookieHelper.java: secure attribute was not set properly
  Submitted by: Chris Newland [chris.newland@emorphia.com]
  
  Revision  Changes    Path
  1.6       +4 -2      xml-cocoon2/src/org/apache/cocoon/components/language/markup/xsp/XSPCookieHelper.java
  
  Index: XSPCookieHelper.java
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/src/org/apache/cocoon/components/language/markup/xsp/XSPCookieHelper.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- XSPCookieHelper.java	2001/08/16 13:39:35	1.5
  +++ XSPCookieHelper.java	2001/08/17 14:29:16	1.6
  @@ -99,8 +99,10 @@
               if ((path.trim()).length() > 0)
                   cookieToSet.setPath("/");
   
  -            if (secure == "true" || secure == "false")
  +            if (secure == "true")
                   cookieToSet.setSecure(true);
  +            else
  +                cookieToSet.setSecure(false);
   
               cookieToSet.setVersion(version);
               response.addCookie(cookieToSet);
  @@ -168,7 +170,7 @@
               int count  = 0;
   
               String tempStr = null;
  - 
  +
               Hashtable nodeTable = new Hashtable();
               XSPObjectHelper.start(URI, PREFIX, contentHandler, "cookies");
   
  
  
  

----------------------------------------------------------------------
In case of troubles, e-mail:     webmaster@xml.apache.org
To unsubscribe, e-mail:          cocoon-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: cocoon-cvs-help@xml.apache.org


Mime
View raw message