After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 533478 - [IMAPx] Support umlauts in user tags
[IMAPx] Support umlauts in user tags
Status: RESOLVED FIXED
Product: evolution-data-server
Classification: Platform
Component: Mailer
2.24.x (obsolete)
Other Linux
: Normal normal
: ---
Assigned To: evolution-mail-maintainers
Evolution QA team
evolution[imapx]
Depends on:
Blocks:
 
 
Reported: 2008-05-16 17:43 UTC by Hendrik Richter
Modified: 2015-08-10 14:03 UTC
See Also:
GNOME target: ---
GNOME version: 2.23/2.24



Description Hendrik Richter 2008-05-16 17:43:33 UTC
I connect to a Zimbra installation via IMAP. 

I have a folder called "INBOX/Später" (note the Umlaut), and accessing/syncing it works, since Evolution escapes its name. Here is the communication between Evolution and Zimbra:

Evolution: SELECT INBOX/Sp&AOQ-ter
Server:  OK [READ-WRITE] SELECT completed


I also have an IMAP tag called "Später", which causes an error (I guess since it is not escaped):

Evolution: UID STORE 1119,1121,1123,6321 FLAGS.SILENT (\Seen Später)
Zimbra:  BAD parse error: wrong character; expected ' ' but got '?'

I don't know if this is an error in Zimbra's IMAP implementation or Evolution's. This occurs on e-d-s 2.22 and lates SVN TRUNK, rev 8797.
Comment 1 Jeffrey Stedfast 2008-05-16 18:20:48 UTC
it's an evolution bug, but flags aren't meant to be UTF7 encoded. There's a limitation on what chars can be used tho, which is a subset of ascii

perhaps UTF7 encoding non-conforming names is the solution, but there's not really a standard way of doing it. I wonder what other clients do in this situation.
Comment 2 Milan Crha 2015-08-10 14:03:17 UTC
thunderbird-31.7.0 uses modified utf7, they remove leading '-' and also lowercase the letters, thus reading it back produces garbage. Let's do the utf7 too, but the correct one, thus the string can be read forth and back.

Created commit 1bdd107 in eds master (3.17.90+)