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.1/src/java/org/apache/cocoon/transformation EncodeURLTransformer.java
Date Sat, 06 Mar 2004 04:58:58 GMT
joerg       2004/03/05 20:58:58

  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.7       +4 -6      cocoon-2.1/src/java/org/apache/cocoon/transformation/EncodeURLTransformer.java
  
  Index: EncodeURLTransformer.java
  ===================================================================
  RCS file: /home/cvs/cocoon-2.1/src/java/org/apache/cocoon/transformation/EncodeURLTransformer.java,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- EncodeURLTransformer.java	5 Mar 2004 13:02:59 -0000	1.6
  +++ EncodeURLTransformer.java	6 Mar 2004 04:58:58 -0000	1.7
  @@ -116,12 +116,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 ) {
  @@ -132,9 +132,7 @@
               }
           }
       }
  -                
   
  -    
       /**
        * Setup the transformer.
        * <p>
  
  
  

Mime
View raw message