Open
Bug 60044
Opened 24 years ago
Updated 2 years ago
Can't select IMAP folder with name "."
Categories
(MailNews Core :: Networking: IMAP, defect, P5)
Tracking
(Not tracked)
NEW
People
(Reporter: Bienvenu, Unassigned)
References
(Blocks 1 open bug)
Details
(Whiteboard: [nsbeta3-])
If you try to select an IMAP folder named ".", it fails because we issue a
select on a folder named "", i.e., the empty string.
Comment 3•24 years ago
|
||
Copying the IMAP log from bug 60797 and change QA contact to me.
Notice from the following lines from above IMAP log:
------------------------------------------------------------------
281[93edb60]: nsmail-1:A:SendData: 4 select ""
281[93edb60]: nsmail-1:A:CreateNewLineFromSocket: 4 NO Mailbox does not exist
281[93edb60]: nsmail-1:A:SendData: 5 getacl ""
281[93edb60]: nsmail-1:A:CreateNewLineFromSocket: 5 NO Mailbox does not exist
------------------------------------------------------------------------------
QA Contact: esther → huang
Update for triage team. This bug is specific to a period alone as a folder
name. If you have a period in the folder name it's ok, if you start the folder
name with a period that's OK too and if you literaly use the quotes around the
period in the folder name it's ok too. Just trying to determine the frequence
of this bug showing up.
Comment 8•24 years ago
|
||
marking nsbeta1- due to not affecting a large number of users.
Keywords: nsbeta1-
Updated•23 years ago
|
Blocks: folders-with-special-characters
Comment 9•22 years ago
|
||
The question is at void CoalesceDirsAbs(char* io_Path)
in mozilla/netwerk/base/src/nsURLHelper.cpp I found.
Comment 10•22 years ago
|
||
In mozilla/netwerk/base/src/nsURLHelper.cpp/void CoalesceDirsAbs(char* io_Path),
mozilla will look '.' as current folder directory, look '..' as father folder
directory. So it will change
/foo/../foo1 -> /foo1
and /foo/./foo1 -> /foo/foo1
and /foo/foo1/.. -> /foo/
and thus make the url more concise.
So we may forbidden the user's create a folder named '.' and '..'.
Comment 11•22 years ago
|
||
How to reproduce this bug?
Following is the steps I test.
1. create "." on a UW server
It is said that 'invalid argument'.
2. select "." on a UW server
It is said that 'not a selectable mailbox'.
3. create "." on a Cyrus server
It is said it is a 'Invalid mailbox name'.
4. select "." on a UW server
It is said that 'doesn't exist'.
Comment 12•22 years ago
|
||
Sorry for the typo.
4. select "." on a UW server
=>
4. select "." on a Cyrus server
Comment 13•22 years ago
|
||
I reproduce it on our iPlanet server,henry.
1.We can create folder "." or ".." successfully
2.But we can't select it successfully
The same thing happen to "..". But "..." etc all right.
On UW server we can't create ".", it's response demonstrates that current
mailbox has been existed.
My Cyrus server account(on fastmail.fm) doesn't work, don't know why...
Updated•20 years ago
|
Product: MailNews → Core
Assignee | ||
Updated•16 years ago
|
Product: Core → MailNews Core
Updated•16 years ago
|
QA Contact: grylchan → networking.imap
Updated•5 years ago
|
Assignee: mozilla → nobody
Priority: P2 → P5
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•