You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@cocoon.apache.org by cz...@apache.org on 2002/04/02 08:35:00 UTC

cvs commit: xml-cocoon2/src/scratchpad/src/org/apache/cocoon/sunshine/sunrise Handler.java

cziegeler    02/04/01 22:35:00

  Modified:    src/scratchpad/src/org/apache/cocoon/sunshine/sunrise
                        Handler.java
  Log:
  Removed old code. Reported by Chitharanjan Das [cdas@accordiasys.com]
  
  Revision  Changes    Path
  1.4       +1 -11     xml-cocoon2/src/scratchpad/src/org/apache/cocoon/sunshine/sunrise/Handler.java
  
  Index: Handler.java
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/src/scratchpad/src/org/apache/cocoon/sunshine/sunrise/Handler.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- Handler.java	13 Mar 2002 15:45:30 -0000	1.3
  +++ Handler.java	2 Apr 2002 06:35:00 -0000	1.4
  @@ -68,7 +68,7 @@
    * The sunRise Handler.
    *
    * @author <a href="mailto:cziegeler@s-und-n.de">Carsten Ziegeler</a>
  - * @version CVS $Id: Handler.java,v 1.3 2002/03/13 15:45:30 cziegeler Exp $
  + * @version CVS $Id: Handler.java,v 1.4 2002/04/02 06:35:00 cziegeler Exp $
   */
   public final class Handler
   implements java.io.Serializable {
  @@ -147,16 +147,6 @@
               this.redirectURI = this.redirectURI.substring("cocoon:/".length());
           }
   
  -        if (this.redirectURI.indexOf("://") == -1
  -            && this.redirectURI.startsWith("/") == false) {
  -            boolean isDefaultPort = "http".equalsIgnoreCase(request.getScheme())
  -                                    && 80 == request.getServerPort();
  -            this.redirectURI = request.getScheme() + "://" +
  -                               request.getServerName() +
  -                               (isDefaultPort ? "" : ":" + request.getServerPort()) +
  -                               (request.getContextPath() == null ? "" : request.getContextPath()) +
  -                               '/' + this.redirectURI;
  -        }
           this.redirectParameters = SourceParameters.create(child);
   
           // get load resource (required)
  
  
  

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