cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cziege...@apache.org
Subject cvs commit: xml-cocoon2/src/java/org/apache/cocoon/components/source/impl SitemapSource.java
Date Thu, 09 Jan 2003 10:34:29 GMT
cziegeler    2003/01/09 02:34:29

  Modified:    src/java/org/apache/cocoon/components/source/impl
                        SitemapSource.java
  Log:
  Correcting protocol
  
  Revision  Changes    Path
  1.31      +2 -2      xml-cocoon2/src/java/org/apache/cocoon/components/source/impl/SitemapSource.java
  
  Index: SitemapSource.java
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/src/java/org/apache/cocoon/components/source/impl/SitemapSource.java,v
  retrieving revision 1.30
  retrieving revision 1.31
  diff -u -r1.30 -r1.31
  --- SitemapSource.java	9 Jan 2003 08:09:39 -0000	1.30
  +++ SitemapSource.java	9 Jan 2003 10:34:29 -0000	1.31
  @@ -161,7 +161,7 @@
           // remove the protocol
           int position = uri.indexOf(':') + 1;
           if (position != 0) {
  -            this.protocol = uri.substring(0, position);
  +            this.protocol = uri.substring(0, position-1);
               // check for subprotocol
               if (uri.startsWith("raw:", position)) {
                   position += 4;
  
  
  

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