6.0.0-alpha14
7/2/25

[#12335] Marker with � was never saved
Summary Marker with � was never saved
Queue IMP
Queue Version 6.1.0
Type Bug
State Resolved
Priority 1. Low
Owners slusarz (at) horde (dot) org
Requester samuel.wolf (at) wolf-maschinenbau (dot) de
Created 06/11/2013 (4404 days ago)
Due
Updated 04/01/2014 (4110 days ago)
Assigned 06/11/2013 (4404 days ago)
Resolved 04/01/2014 (4110 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
04/01/2014 03:36:57 AM Michael Slusarz Comment #8
State ⇒ Resolved
Reply to this comment
IMP 6.2.
04/01/2014 03:36:44 AM Git Commit Comment #7 Reply to this comment
Changes have been made in Git (master):

commit 6c80ab47297ea9a5f8229613ced739ff711f7422
Author: Michael M Slusarz <slusarz@horde.org>
Date:   Mon Mar 31 21:03:19 2014 -0600

     [mms] Support non-ASCII characters in user-defined flag names 
(Request #12335).

  imp/docs/CHANGES      |    1 +
  imp/lib/Flag/User.php |   29 +++++++++++++++++++++++------
  imp/package.xml       |    3 ++-
  3 files changed, 26 insertions(+), 7 deletions(-)

http://github.com/horde/horde/commit/6c80ab47297ea9a5f8229613ced739ff711f7422
06/11/2013 08:12:10 PM samuel (dot) wolf (at) wolf-maschinenbau (dot) de Comment #6 Reply to this comment
For IMP 6.1.1, add code that catches non-ASCII characters and throws 
an error.  This is better than a user thinking the flag was 
successfully created.
I am very happy with the solution, thanks for the commit.
06/11/2013 05:28:53 PM Michael Slusarz Comment #5 Reply to this comment
For IMP 6.1.1, add code that catches non-ASCII characters and throws 
an error.  This is better than a user thinking the flag was 
successfully created.
06/11/2013 05:28:06 PM Git Commit Comment #4 Reply to this comment
Changes have been made in Git (master):

commit d53059247a6ad566b0f2095eae5bc10686104391
Author: Michael M Slusarz <slusarz@horde.org>
Date:   Tue Jun 11 11:27:50 2013 -0600

     [mms] Catch invalid characters in user-defined flag names (Bug #12335).

  imp/docs/CHANGES                             |    1 +
  imp/lib/Ajax/Application/Handler/Dynamic.php |   10 ++++++++--
  imp/lib/Flag/User.php                        |    5 +++++
  imp/package.xml                              |    2 ++
  4 files changed, 16 insertions(+), 2 deletions(-)

http://git.horde.org/horde-git/-/commit/d53059247a6ad566b0f2095eae5bc10686104391
06/11/2013 05:17:36 PM Michael Slusarz Comment #3 Reply to this comment
The solution is going to be suboptimal: we need to base64 encode the 
name of the flag in the IMAP flag name (prefixed by an IMP-specific 
header).  Saving globally in the preferences - something we used to do 
- is no longer done due to issues recovering when the preferences may 
be lost.

The downside of this approach is that the IMAP flags are unusable in 
any other IMAP client, since the text of the flag itself will be 
garbage and other clients will not know how to translate the text into 
a useful label.
06/11/2013 04:33:40 PM Michael Slusarz Comment #2
State ⇒ Assigned
Assigned to Michael Slusarz
Reply to this comment
Of course, because non-ASCII characters are not allowed in IMAP 
keywords/flags (RFC 3501).

We should probably throw an error on this to inform the user that 
these characters are not allowed.
06/11/2013 12:31:57 PM samuel (dot) wolf (at) wolf-maschinenbau (dot) de Comment #1
Priority ⇒ 1. Low
Type ⇒ Bug
Summary ⇒ Marker with äüö was never saved
Queue ⇒ IMP
Milestone ⇒
Patch ⇒ No
State ⇒ Unconfirmed
Reply to this comment
Can create marker (Prüfen) and mark messages with the german umlaute 
like äüö, but after logout and login again the message lost the marker.

After press F5 for browser reload the message lost the marker 
immediately, it looks as if it was never saved.

Saved Queries