Changeset 890

Show
Ignore:
Timestamp:
07/17/04 04:45:22 (4 years ago)
Author:
morris
Message:

always percent escape .FootageheadPath?

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • Footagehead/trunk/FHFileHandler.m

    r889 r890  
    1 /* $Id: FHFileHandler.m,v 1.4 2004/07/13 23:57:01 morris Exp $ */ 
     1/* $Id: FHFileHandler.m,v 1.5 2004/07/17 02:45:22 morris Exp $ */ 
    22 
    33/* 
     
    9494                 
    9595                // --- check for file indicating relative path 
    96                 if([name isEqualToString:@".FootageheadPath"]) 
    97                         _relativeURL = [[NSURL alloc] initWithString:[NSString stringWithContentsOfFile:path]]; 
     96                if([name isEqualToString:@".FootageheadPath"]) { 
     97                        _relativeURL = [[NSURL alloc] initWithString: 
     98                                [[NSString stringWithContentsOfFile:path] stringByAddingURLPercentEscapes]]; 
     99                }                                  
    98100 
    99101                // --- get URL