|
From: itinerants <iti...@ho...> - 2007-11-14 10:24:58
|
In file... Util.cpp
Routine... Util::validateFileName
This attempts to convert an arbitrary "filename" into something that'll work
as a file name on the system it's running on. For example, the url of a hub
file list (" http://dchublist.com/hublist.xml.bz2") into a usable filename.
I can speak only for Macintosh, but '/' (and btw ':') need to be on the list
of "badChars" outside the "#ifdef _WIN32" switch, otherwise the filename
produced won't work.
R
|