portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tay...@apache.org
Subject cvs commit: jakarta-jetspeed-2/components/jetspeed/src/java/org/apache/jetspeed/rewriter WebContentRewriter.java
Date Fri, 03 Dec 2004 02:05:37 GMT
taylor      2004/12/02 18:05:36

  Modified:    components/jetspeed/src/java/org/apache/jetspeed/rewriter
                        WebContentRewriter.java
  Log:
  allow me to nav around apache a bit easier
  
  Revision  Changes    Path
  1.6       +2 -2      jakarta-jetspeed-2/components/jetspeed/src/java/org/apache/jetspeed/rewriter/WebContentRewriter.java
  
  Index: WebContentRewriter.java
  ===================================================================
  RCS file: /home/cvs/jakarta-jetspeed-2/components/jetspeed/src/java/org/apache/jetspeed/rewriter/WebContentRewriter.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- WebContentRewriter.java	3 Dec 2004 00:57:20 -0000	1.5
  +++ WebContentRewriter.java	3 Dec 2004 02:05:36 -0000	1.6
  @@ -63,7 +63,7 @@
            String modifiedURL = url;
           
           // Any relative URL needs to be converted to a full URL
  -        if (url.startsWith("/") ) 
  +        if (url.startsWith("/") || (!url.startsWith("http:") && !url.startsWith("https:")))

           {
               try
               {
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-dev-help@jakarta.apache.org


Mime
View raw message