Ignore:
Timestamp:
2008-12-19T13:48:37+13:00 (15 years ago)
Author:
ak19
Message:

Spaces in filenames are replaced with underscores just to be on the safe side. Tested that files with spaces in their names still work when using the Remote GS server and also work in the local case (such as mp3 and wmv files).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • gsdl/trunk/perllib/unicode.pm

    r18245 r18282  
    581581    my ($text) = @_;
    582582    if (!&is_url_encoded($text)) {
     583    $text =~ s/ /_/g;             # spaces replaced with underscore
    583584    $text =~ s/([^A-Z0-9\ \.\-\_])/sprintf("%%%02X", ord($1))/iseg;
    584585    }
Note: See TracChangeset for help on using the changeset viewer.