Login | Register
My pages Projects Community openCollabNet

Discussions > cvs > CVS update: joist/java/org/joist/search SearchResultItem.java

Project highlights: Architectural Overview

joist
Discussion topic

Back to topic list

CVS update: joist/java/org/joist/search SearchResultItem.java

Author stack
Full name Michael Stack
Date 2000-11-02 12:18:56 PST
Message User: stack
  Date: 00/11/02 12:18:56

  Modified: java/org/joist/search SearchResultItem.java
  Log:
  Encode path in manufactured URL -- just-in-case
  
  Revision Changes Path
  1.9 +5 -3 joist/java/org/joist​/search/SearchResult​Item.java
  
  Index: SearchResultItem.java
  ====================​====================​====================​=======
  RCS file: /cvs/joist/java/org/​joist/search/SearchR​esultItem.java,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- SearchResultItem.java 2000/11/02 20:13:19 1.8
  +++ SearchResultItem.java 2000/11/02 20:18:56 1.9
  @@ -51,14 +51,14 @@
   * «Immutable -- Read-Only.»
   *
   * @author <a href="mailto:stack@c​ollab.net">St.Ack​</a>
  -* @version $Id: SearchResultItem.java,v 1.8 2000/11/02 20:13:19 stack Exp $
  +* @version $Id: SearchResultItem.java,v 1.9 2000/11/02 20:18:56 stack Exp $
   */
   public class SearchResultItem
   {
       /** Class version string
       */
       public static final String versionID
  - = "$Id: SearchResultItem.java,v 1.8 2000/11/02 20:13:19 stack Exp $";
  + = "$Id: SearchResultItem.java,v 1.9 2000/11/02 20:18:56 stack Exp $";
   
   
       /** Search engine ranking.
  @@ -324,7 +324,9 @@
               strBuffer.append( port );
           }
           strBuffer.append( "/" );
  - strBuffer.append( parse.getPathRemainder( ) );
  + String encodedPath
  + = java.net.URLEncoder.encode( parse.getPathRemainder( ) );
  + strBuffer.append( encodedPath );
           
           return strBuffer.toString( );
       }

« Previous message in topic | 1 of 1 | Next message in topic »

Messages

Show all messages in topic

CVS update: joist/java/org/joist/search SearchResultItem.java stack Michael Stack 2000-11-02 12:18:56 PST
Messages per page: