Changeset 7519 for trunk/gsdl/src/w32server/cgiwrapper.cpp
- Timestamp:
- 2004-06-01T14:14:31+12:00 (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl/src/w32server/cgiwrapper.cpp
r6023 r7519 735 735 // try to open the file 736 736 filename = filename_cat (current_gsdlhome, filename); 737 /* Feb 2002 - handle a file with a space in it's name. 738 Assume that if there is a space, it is in the collect name (and there's 739 only one space). */ 737 /* Feb 2002 - handle files with spaces in their name. */ 740 738 text_t::iterator space_start; 741 739 space_start=findword(filename.begin(),filename.end(),"%20"); 742 if(space_start != filename.end()) {740 while (space_start != filename.end()) { 743 741 // we found a space... 744 742 text_t::iterator after_space=space_start+3; … … 747 745 new_filename += substr(after_space,filename.end()); 748 746 filename=new_filename; 747 space_start=findword(filename.begin(),filename.end(),"%20"); 749 748 } 750 749
Note:
See TracChangeset
for help on using the changeset viewer.