cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hu...@apache.org
Subject cvs commit: xml-cocoon2/src/java/org/apache/cocoon/transformation EncodeURLTransformer.java
Date Sun, 10 Nov 2002 22:53:54 GMT
huber       2002/11/10 14:53:54

  Modified:    src/java/org/apache/cocoon/transformation Tag:
                        cocoon_2_0_3_branch EncodeURLTransformer.java
  Log:
  Fix bug 13855
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.1.2.2   +5 -3      xml-cocoon2/src/java/org/apache/cocoon/transformation/EncodeURLTransformer.java
  
  Index: EncodeURLTransformer.java
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/src/java/org/apache/cocoon/transformation/EncodeURLTransformer.java,v
  retrieving revision 1.1.2.1
  retrieving revision 1.1.2.2
  diff -u -r1.1.2.1 -r1.1.2.2
  --- EncodeURLTransformer.java	22 Oct 2002 04:04:21 -0000	1.1.2.1
  +++ EncodeURLTransformer.java	10 Nov 2002 22:53:54 -0000	1.1.2.2
  @@ -184,7 +184,9 @@
           final Request request = ObjectModelHelper.getRequest(objectModel);
           this.session = request.getSession( false );
           if ( null != this.session ) {
  -            if ( request.isRequestedSessionIdFromURL() ) {
  +            // do encoding if session id is from URL, or the session is new, 
  +            // fixes BUG #13855, due to paint007@mc.duke.edu
  +            if ( request.isRequestedSessionIdFromURL() || this.session.isNew()) {
                   this.response = ObjectModelHelper.getResponse(objectModel);
                   final String includeName = parameters.getParameter(INCLUDE_NAME,
                                                                      this.includeNameConfigure);
  
  
  

----------------------------------------------------------------------
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