Changeset 4889

Show
Ignore:
Timestamp:
09/05/07 11:57:14 (10 months ago)
Author:
morris
Message:

Make sure there is a difference between / and ""

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • WiredAdditions/trunk/WIURL.m

    r4798 r4889  
    276276- (NSString *)string { 
    277277        NSMutableString         *string; 
    278         NSString                        *path; 
    279278         
    280279        string = [[NSMutableString alloc] init]; 
     
    300299        } 
    301300         
    302         path = [self path]; 
    303          
    304         if([path length] > 0) 
    305                 [string appendString:[path stringByAddingURLPercentEscapes]]; 
    306         else 
    307                 [string appendString:@"/"]; 
     301        [string appendString:[[self path] stringByAddingURLPercentEscapes]]; 
    308302         
    309303        return [string autorelease];