Closed Bug 290451 Opened 19 years ago Closed 17 years ago

IMAP Saved Search folders will break when using a & or other special characters in the name

Categories

(Thunderbird :: General, defect)

x86
Windows XP
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: g.teunis, Assigned: mscott)

References

Details

Attachments

(1 file)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b2) Gecko/20050412 Firefox/1.0+
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b2) Gecko/20050412 Firefox/1.0+

When creating a Saved Search folder with an & in it's name it will break the
Saved Search Folder (renaming will also do).
In the profile folder and in thunderbird the folder gets extra '-' and %20's in
its name and the Saved Search Folder breaks.


Reproducible: Always

Steps to Reproduce:
1. Create a Saved Search folder on an IMAP account
2. Make sure to use a '&' in the name (like "Fora & News", without quotes)
3. Close Thunderbird
4. Open thunderbird and open the Saved Search Folder

Actual Results:  
The foldername isn't correct, it gets extra %20's and/or -'s. In the profile
folder the Saved Search folder's name is also corrupt.

When opening the Saved Search Folder it doesn't work.
("The current command did not succeed. The mail server responded: SELECT failed:
Can't open mailbox fora&--news: no such mailbox")

Expected Results:  
A working Saved Search Folder with correct name (and correctly created in the
profile folder).

Every restart Thunderbird seems to change Saved Search Folder somewhat. Some
extra -'s or %20's are added/removed on restart.
I'm seeing this as well, running a 4/14 build (Win XP sp2). Have you tried
another special character like ¢, ~, @, £, *, µ etc. ?
(In reply to comment #1)
> I'm seeing this as well, running a 4/14 build (Win XP sp2). Have you tried
> another special character like ¢, ~, @, £, *, µ etc. ?

All don't work except the @ and ~ one, some of the rest seem to work after the
first restart but completely change the name after second start.
(µ into &ALU- and after that not displayed anymore)

Slightly offtopic, after renaming a Saved Search Folder the previous folder in
profiledata isn't deleted (previous-ssf-name).sbd

Until now everything between @ and 'lowercase z' works as expected (use i.e.
charmap), but not completely sure which character works and which doesn't (too
much to check them all :)
Could anyone who is allowed please change the Status to NEW? (Just for the record)
This is an automated message, with ID "auto-resolve01".

This bug has had no comments for a long time. Statistically, we have found that
bug reports that have not been confirmed by a second user after three months are
highly unlikely to be the source of a fix to the code.

While your input is very important to us, our resources are limited and so we
are asking for your help in focussing our efforts. If you can still reproduce
this problem in the latest version of the product (see below for how to obtain a
copy) or, for feature requests, if it's not present in the latest version and
you still believe we should implement it, please visit the URL of this bug
(given at the top of this mail) and add a comment to that effect, giving more
reproduction information if you have it.

If it is not a problem any longer, you need take no action. If this bug is not
changed in any way in the next two weeks, it will be automatically resolved.
Thank you for your help in this matter.

The latest beta releases can be obtained from:
Firefox:     http://www.mozilla.org/projects/firefox/
Thunderbird: http://www.mozilla.org/products/thunderbird/releases/1.5beta1.html
Seamonkey:   http://www.mozilla.org/projects/seamonkey/
Still badly broken and messing up the search folders.
And the folder names may not contain other special characters (mentioned in one
of the coments).
Summary: IMAP Saved Search folders will break when using a & in the name → IMAP Saved Search folders will break when using a & or other special characters in the name
Maybe severity should be lowered to minor, still I have no idea why nobody's
confirmed this one.
Still seeing this on 1.5RC1. Thunderbird crashed shortly after I renamed some  folders not to have spaces in them. Saved searches with spaces in not only have weird names each time TB is reloaded, but error dialogs are repeatedly thrown up.

It's an Imap mailbox (Courier). Happy to supply a log if that helps you. I told it to conduct the search online (don't know if that matters).

Alan
bug 314688 appears to be a duplicate of this one.
Changing status to NEW based on comments
Status: UNCONFIRMED → NEW
Ever confirmed: true
(In reply to comment #8)
> Still seeing this on 1.5RC1. Thunderbird crashed shortly after I renamed some 
> folders not to have spaces in them. Saved searches with spaces in not only have
> weird names each time TB is reloaded, but error dialogs are repeatedly thrown
> up.
> 
> It's an Imap mailbox (Courier). Happy to supply a log if that helps you. I told
> it to conduct the search online (don't know if that matters).
> 
> Alan
> 

Yes please supply the log...may help out.
After a while (restarting TB?) when using a space in the name, the saved folder breaks (I can't get any messages or see the properites) and I get the same error message:

"The current command did not succeed. The mail server responded: SELECT
failed: Can't open mailbox fora&--news: no such mailbox")

However, using an underscore has been working OK.

TB 1.5.0.7
Windows XP
uw-imap-2002e-5tr on Trustix 2.2
Maybe fixed by the patch for Bug 302470 (which was concerning virtual forders)
Blocks: 370090
->WFM on Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.2pre) Gecko/20070213 Thunderbird/2.0pre ID:2007021303 

Probably fixed by the bug mentioned.
Status: NEW → RESOLVED
Closed: 17 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: