Changeset 18381


Ignore:
Timestamp:
2009-01-14T15:01:57+13:00 (15 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.

File:
1 edited

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
Note: See TracChangeset for help on using the changeset viewer.