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

Gary D. Gregory resolved NET-734.
---------------------------------
    Fix Version/s: 3.11.2
         Assignee: Gary D. Gregory
       Resolution: Fixed

Hello [~jkamp]

This is already fixed in git master and 3.12.0-SNAPSHOT builds in 
https://repository.apache.org/content/repositories/snapshots/

Would you please try a snapshot build or a local build of git master?

TY

> IMAP login fails with 3.11.1
> ----------------------------
>
>                 Key: NET-734
>                 URL: https://issues.apache.org/jira/browse/NET-734
>             Project: Commons Net
>          Issue Type: Bug
>          Components: IMAP
>    Affects Versions: 3.11.1
>            Reporter: John van der Kamp
>            Assignee: Gary D. Gregory
>            Priority: Major
>             Fix For: 3.11.2
>
>
> We tried to upgrade from 3.5 to 3.11.1 but now IMAP logins fail. In 
> IMAPReply.java a regular expression is changed and now looks like this:
>  
> {quote}    private static final String TAGGED_RESPONSE = "^\\w\{1,80} 
> (\\S\{1,80}).\{0,80}";
> {quote}
> The matchings now have length restrictions and this fails the call to 
> {{matches}} later on in {{{}getReplyCode{}}}.
>  
> The IMAP server in our case sends the following reply on a correct login:
>  
> {{CBJJ OK [CAPABILITY IMAP4rev1 SASL-IR LOGIN-REFERRALS ENABLE IDLE ID SORT 
> SORT=DISPLAY THREAD=REFERENCES THREAD=REFS THREAD=ORDEREDSUBJECT MULTIAPPEND 
> URL-PARTIAL CATENATE UNSELECT CHILDREN NAMESPACE UIDPLUS LIST-EXTENDED 
> I18NLEVEL=1 CONDSTORE QRESYNC ESEARCH ESORT SEARCHRES WITHIN CONTEXT=SEARCH 
> LIST-STATUS BINARY MOVE STATUS=SIZE SAVEDATE LITERAL+ QUOTA] Logged in}}
> {{}}
> and now we get an 
> {{{}org.apache.commons.net.MalformedServerReplyException{}}}. The login was 
> fine, but the check is faulty.{{{}{}}}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to