Changeset 18381 for gsdl

Show
Ignore:
Timestamp:
14.01.2009 15:01:57 (11 years ago)
Author:
ak19
Message:

Spaces in filenames were replaced with underscores. Needed to make corresponding changes in gliserver.pl in since ReplaceSrcDocWithHTML also needs to take this into account.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • gsdl/trunk/cgi-bin/gliserver.pl

    r16467 r18381  
    628628    } 
    629629    $file =~ s/\|/&util::get_dirsep()/eg;  # Convert the '|' characters into whatever is right for this OS 
     630    $file =~ s/ /\_/g; # spaces replaced with underscore now 
    630631    
    631632    # Not necessary: checking whether the user is authenticated to query existence of the file 
     
    656657    } 
    657658    $file =~ s/\|/&util::get_dirsep()/eg;  # Convert the '|' characters into whatever is right for this OS 
     659    $file =~ s/ /\_/g; # spaces replaced with underscore now 
    658660 
    659661    # Make sure we don't try to download anything outside the collection