Changeset 16441
- Timestamp:
- 2008-07-16T17:46:28+12:00 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
greenstone3/trunk/web/WEB-INF/cgi/gliserver.pl
r16427 r16441 958 958 } 959 959 $gsdl_cgi->delete("script"); 960 960 961 my $collection = $gsdl_cgi->clean_param("c"); 961 962 if ((!defined $collection) || ($collection =~ m/^\s*$/)) { … … 983 984 } 984 985 $gsdl_cgi->delete("file"); 985 $file =~ s/ /\\ /g; # escape all spaces in filename with a backslash, i.e. "\ ". 986 #$file =~ s/ /\\ /g; # Works on linux: escape all spaces in filename with a backslash, i.e. "\ ". 987 $file = "\"$file\""; # Windows: bookend the relative filepath with quotes in case it contains spaces 986 988 $perl_args = $file; 987 989 }
Note:
See TracChangeset
for help on using the changeset viewer.