james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Wojtek Strzalka (JIRA)" <server-...@james.apache.org>
Subject [jira] [Reopened] (IMAP-330) Convert mailboxnames to UTF-8 before pass them to the Mailbox impl
Date Thu, 25 Aug 2011 22:04:30 GMT

     [ https://issues.apache.org/jira/browse/IMAP-330?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Wojtek Strzalka reopened IMAP-330:
----------------------------------


if folder name is passed in LIST command it's not decoded properly (below typical Outlook
scenario)

a2 CREATE "X&-Z"
a2 OK CREATE completed.
a3 LIST "" "X&-Z"
a3 OK LIST completed.               <-- no folders returned here
a3 LIST "" "*"
* LIST (\HasChildren) "/" "INBOX"
* LIST (\HasNoChildren) "/" "X&-Z"
a3 OK LIST completed.

> Convert mailboxnames to UTF-8 before pass them to the Mailbox impl
> ------------------------------------------------------------------
>
>                 Key: IMAP-330
>                 URL: https://issues.apache.org/jira/browse/IMAP-330
>             Project: JAMES Imap
>          Issue Type: Improvement
>    Affects Versions: 0.2.1
>            Reporter: Norman Maurer
>            Assignee: Norman Maurer
>             Fix For: 0.3
>
>
> IMAP use a modified UTF-7 to handle mailboxnames. At the moment we just use the mailboxname
as passed by the imap client to do any mailbox action. This works but can be quite confusing
if someone tries to lookup a mailbox via the mailbox api and just pass the "real name" to
it. 
> It would be better to convert from UTF-7 to UTF-8 before pass it to the mailbox impl.

> See http://fetchmail.berlios.de/Mailbox-Names-UTF7.html for some useful info

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


Mime
View raw message