cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jo...@apache.org
Subject cvs commit: cocoon-2.2/src/java/org/apache/cocoon/transformation EncodeURLTransformer.java
Date Sat, 06 Mar 2004 04:59:03 GMT
joerg       2004/03/05 20:59:03

  Modified:    src/java/org/apache/cocoon/transformation
                        EncodeURLTransformer.java
  Log:
  fixed bug 25403: don't create new session in EncodeURLTransformer (thanks to Marco Rolappe)
  
  Revision  Changes    Path
  1.10      +4 -6      cocoon-2.2/src/java/org/apache/cocoon/transformation/EncodeURLTransformer.java
  
  Index: EncodeURLTransformer.java
  ===================================================================
  RCS file: /home/cvs/cocoon-2.2/src/java/org/apache/cocoon/transformation/EncodeURLTransformer.java,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- EncodeURLTransformer.java	8 Dec 2003 10:23:46 -0000	1.9
  +++ EncodeURLTransformer.java	6 Mar 2004 04:59:03 -0000	1.10
  @@ -150,12 +150,12 @@
       /**
        * check if encoding of URLs is neccessary.
        *
  -     * THis is true if session object exists, and session-id
  +     * This is true if session object exists, and session-id
        * was provided from URL, or session is new.
        * The result is stored in some instance variables
        */
       protected void checkForEncoding(Request request) {
  -        this.session = request.getSession();
  +        this.session = request.getSession(false);
           this.isEncodeURLNeeded = false;
   
           if ( null != this.session ) {
  @@ -166,8 +166,6 @@
               }
           }
       }
  -
  -
   
       /**
        * Setup the transformer.
  
  
  

Mime
View raw message