mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-24 05:44:10 +00:00
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:
parent
fd2771a3fc
commit
fc5b52d4f2
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user