[Tickets #12217] Re: Filter creates duplicate folder, when it has national letters
noreply at bugs.horde.org
noreply at bugs.horde.org
Wed Jun 12 14:52:20 UTC 2013
DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.
Ticket URL: http://bugs.horde.org/ticket/12217
------------------------------------------------------------------------------
Ticket | 12217
Updated By | g.arminas at gmail.com
Summary | Filter creates duplicate folder, when it has national
| letters
Queue | Ingo
Version | Git master
Type | Bug
State | Resolved
Priority | 2. Medium
Milestone |
Patch |
Owners | Michael Slusarz
------------------------------------------------------------------------------
g.arminas at gmail.com (2013-06-12 14:52) wrote:
The problem remains in Ingo 3.1.1. The problem is very simple - when
adding new rule, which uses not (yet) existing folder, the folder name
is not encoded in utf7imap.
e.g. I want to add new rule, which move emails to folder "ab?". I've
found this in html after entering new mailbox name.
<input id="actionvalue_new" name="actionvalue_new" type="hidden" value="ab?">
but it should be:
<input id="actionvalue_new" name="actionvalue_new" type="hidden"
value="ab&AQ0-">
All existing mailboxes, listed in the dropdown (id="actionvalue"), are
encoded in utf7imap.
So imho there is two options here:
1. Encode mailbox name with javascript right before setting it to
actionvalue_new field.
2. Before saving rule, check weather the mailbox exists. If it
doesn't, convert mailbox name from utf8 to utf7imap before performing
any action further.
More information about the bugs
mailing list