cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From giac...@apache.org
Subject cvs commit: xml-cocoon2/src/org/apache/cocoon/environment/http HttpEnvironment.java
Date Tue, 12 Jun 2001 21:30:56 GMT
giacomo     01/06/12 14:30:56

  Modified:    src/org/apache/cocoon/environment/http HttpEnvironment.java
  Log:
  Stopped redirect method adding query string to the URL to redirect to
  
  Revision  Changes    Path
  1.5       +0 -4      xml-cocoon2/src/org/apache/cocoon/environment/http/HttpEnvironment.java
  
  Index: HttpEnvironment.java
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/src/org/apache/cocoon/environment/http/HttpEnvironment.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -u -r1.4 -r1.5
  --- HttpEnvironment.java	2001/06/05 21:36:24	1.4
  +++ HttpEnvironment.java	2001/06/12 21:30:55	1.5
  @@ -96,11 +96,7 @@
               getLogger().debug ("redirect: session mode completed, id = " + session.getId()
);
           }
           // redirect
  -        String qs = request.getQueryString();
           String redirect = this.response.encodeRedirectURL(newURL);
  -
  -        if (qs != null)
  -            redirect = redirect + "?" + qs;
   
           getLogger().debug("Sending redirect to '" + redirect + "'");
           this.response.sendRedirect (redirect);
  
  
  

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