Bug 314846 - exthandler doesn't remove : colon from mac file names (Random filename after downloading). Patch by Edward Lee <edilee@gmail.com>. r=benjamin, sr=cbiesinger

This commit is contained in:
sdwilsh@shawnwilsher.com 2007-06-26 17:45:52 -07:00
Родитель fd2771a3fc
Коммит fc5b52d4f2
1 изменённых файлов: 4 добавлений и 1 удалений

Просмотреть файл

@ -268,7 +268,10 @@ public:
#define CRLF "\015\012" /* A CR LF equivalent string */
#if defined(XP_WIN) || defined(XP_OS2)
#if defined(XP_MACOSX)
#define FILE_PATH_SEPARATOR "/"
#define FILE_ILLEGAL_CHARACTERS ":"
#elif defined(XP_WIN) || defined(XP_OS2)
#define FILE_PATH_SEPARATOR "\\"
#define FILE_ILLEGAL_CHARACTERS "/:*?\"<>|"
#elif defined(XP_UNIX) || defined(XP_BEOS)