You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by "Norman Maurer (JIRA)" <se...@james.apache.org> on 2011/08/13 19:46:27 UTC

[jira] [Created] (IMAP-330) Convert mailboxnames to UTF-8 before pass them to the Mailbox impl

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


[jira] [Commented] (IMAP-330) Convert mailboxnames to UTF-8 before pass them to the Mailbox impl

Posted by "Wojtek Strzalka (JIRA)" <se...@james.apache.org>.
    [ https://issues.apache.org/jira/browse/IMAP-330?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13084879#comment-13084879 ] 

Wojtek Strzalka commented on IMAP-330:
--------------------------------------

This is regarding "This works but can be quite confusing" - in fact if you have some special characters in folder name it don't :)

 




> 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


[jira] [Reopened] (IMAP-330) Convert mailboxnames to UTF-8 before pass them to the Mailbox impl

Posted by "Wojtek Strzalka (JIRA)" <se...@james.apache.org>.
     [ 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


[jira] [Resolved] (IMAP-330) Convert mailboxnames to UTF-8 before pass them to the Mailbox impl

Posted by "Norman Maurer (JIRA)" <se...@james.apache.org>.
     [ https://issues.apache.org/jira/browse/IMAP-330?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Norman Maurer resolved IMAP-330.
--------------------------------

    Resolution: Fixed

Done... 

> 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


[jira] [Commented] (IMAP-330) Convert mailboxnames to UTF-8 before pass them to the Mailbox impl

Posted by "Norman Maurer (JIRA)" <se...@james.apache.org>.
    [ https://issues.apache.org/jira/browse/IMAP-330?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13084866#comment-13084866 ] 

Norman Maurer commented on IMAP-330:
------------------------------------

@Wotjek:

Sorry I don't understand your comment... Can you give some more background ?

> 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


[jira] [Commented] (IMAP-330) Convert mailboxnames to UTF-8 before pass them to the Mailbox impl

Posted by "Wojtek Strzalka (JIRA)" <se...@james.apache.org>.
    [ https://issues.apache.org/jira/browse/IMAP-330?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13084814#comment-13084814 ] 

Wojtek Strzalka commented on IMAP-330:
--------------------------------------

In fact it doesn't work well - try to create folder 'A&B' in Outlook - it will pass name 'A&-B' in CREATE command

> 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


[jira] [Resolved] (IMAP-330) Convert mailboxnames to UTF-8 before pass them to the Mailbox impl

Posted by "Norman Maurer (JIRA)" <se...@james.apache.org>.
     [ https://issues.apache.org/jira/browse/IMAP-330?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Norman Maurer resolved IMAP-330.
--------------------------------

    Resolution: Fixed

Fixed.. thanks for catching this!

> 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