Changeset 27483

Show
Ignore:
Timestamp:
27.05.2013 12:59:56 (6 years ago)
Author:
jmt12
Message:

Replace slash replacement regexs with a call the FileUtils::sanitizePath() which does a much better job of preserving file protocols

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone2/perllib/inexport.pm

    r27482 r27483  
    274274    } 
    275275 
    276     $archivedir = &FileUtils::sanitizePath($archivedir) 
     276    $archivedir = &FileUtils::sanitizePath($archivedir); 
    277277    #$archivedir =~ s/[\\\/]+/\//g; 
    278278    #$archivedir =~ s/\/$//;