Closed Bug 256478 Opened 20 years ago Closed 20 years ago

Folder names prefixed with . (dot) causes havoc even on Win32

Categories

(MailNews Core :: Database, defect)

x86
Windows 2000
defect
Not set
minor

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 229522

People

(Reporter: mnemo, Assigned: Bienvenu)

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.1) Gecko/20040707
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.1) Gecko/20040707

I noticed that there was a previous bug report filed that said mozilla mail
acted weird when one used / (slash) in a folder name. I have noticed a similar
issue.

On my win32 system, when I create a folder called ".NET" all is okay. But when I
restart mozilla it disappears, and when I try to recreate it it says it exists
even though it does not.

It's pretty clear what is causing both these bugs, on Unix systems a folder or
file prefixed with . (dot) is hidden which explains my problems -- albeit I
think this is a bit weird on a win32 system since no file system API could have
caused it. Similarly when using a / (slash) mozilla most likely thinks it should
load two separate dirs.

These problems is caused by the fact that mozilla uses filenames and
directorynames to store folder names and structure. This is bad. Certainly one
must be able to create folders etc with names such as ".NET/?*DOH" on all platforms.



Reproducible: Always
Steps to Reproduce:
1. create a folder called ".NET"
2. restart mozilla

*** This bug has been marked as a duplicate of 229522 ***
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → DUPLICATE
Product: MailNews → Core
Product: Core → MailNews Core
You need to log in before you can comment on or make changes to this bug.