cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jo...@apache.org
Subject cvs commit: cocoon-2.2/src/java/org/apache/cocoon/generation LinkStatusGenerator.java
Date Mon, 08 Mar 2004 21:21:10 GMT
joerg       2004/03/08 13:21:10

  Modified:    .        status.xml
               src/java/org/apache/cocoon/generation
                        LinkStatusGenerator.java
  Log:
  fixed bug 26851, thanks to Marco Rolappe: LinkStatusGenerator now handles also links with
a specified charset.
  
  Revision  Changes    Path
  1.186     +4 -1      cocoon-2.2/status.xml
  
  Index: status.xml
  ===================================================================
  RCS file: /home/cvs/cocoon-2.2/status.xml,v
  retrieving revision 1.185
  retrieving revision 1.186
  diff -u -r1.185 -r1.186
  --- status.xml	6 Mar 2004 14:34:40 -0000	1.185
  +++ status.xml	8 Mar 2004 21:21:10 -0000	1.186
  @@ -189,6 +189,9 @@
   
     <changes>
    <release version="@version@" date="@date@">
  +   <action dev="JH" type="fix" fixes-bug="26851" due-to="Marco Rolappe" due-to-email="m_rolappe@web.de">
  +     LinkStatusGenerator now handles also links with a specified charset.
  +   </action>
      <action dev="JH" type="fix" fixes-bug="25594" due-to="Gernot Koller" due-to-email="grizzly@gmx.at">
        Allow streaming of uploaded files into a pipeline using StreamGenerator.
      </action>
  
  
  
  1.10      +3 -2      cocoon-2.2/src/java/org/apache/cocoon/generation/LinkStatusGenerator.java
  
  Index: LinkStatusGenerator.java
  ===================================================================
  RCS file: /home/cvs/cocoon-2.2/src/java/org/apache/cocoon/generation/LinkStatusGenerator.java,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- LinkStatusGenerator.java	8 Mar 2004 14:02:44 -0000	1.9
  +++ LinkStatusGenerator.java	8 Mar 2004 21:21:10 -0000	1.10
  @@ -448,7 +448,8 @@
                   getLogger().debug("Content-type: " + content_type);
               }
   
  -            if (content_type.equals(linkContentType)) {
  +            if (content_type.equals(linkContentType) ||
  +                content_type.startsWith(linkContentType + ";")) {
                   url_links = new ArrayList();
   
                   InputStream is = conn.getInputStream();
  
  
  

Mime
View raw message