JIRA

  • Log In Access more options
    • Online Help
    • GreenHopper Help
    • Agile Answers
    • Use Agile By Default
    • Keyboard Shortcuts
    • About JIRA
    • JIRA Credits
    • What’s New
  • Dashboards Access more options (Alt+d)
  • Projects Access more options (Alt+p)
  • Issues Access more options (Alt+i)
  • Agile Access more options (Alt+g)
  • Create Issue
  • Mule
  • MULE-5138

Impossible to use a user name containing @ in IMAP transport (probably affects all transports)

  • Agile Board
  • More Actions
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Critical Critical
  • Resolution: Fixed
  • Affects Version/s: 3.0.0
  • Fix Version/s: 3.0.1, 3.1.0
  • Component/s: Transport: Email
  • Labels:
    • uri_parsing
  • User impact:
    High
  • Configuration:
    Hide

    <imap:inbound-endpoint host="..." port="143" user="user%40domain" password="..." />

    Show
    <imap:inbound-endpoint host="..." port="143" user="user%40domain" password="..." />
  • Log Output:
    Hide
    ERROR 2010-10-11 12:23:37,896 [main] org.mule.MuleServer:
    ********************************************************************************
    Message : The endpoint "imap://mule@dossot.net:esb123@mail.gandi.net:143" is malformed and cannot be parsed. If this is the name of a global endpoint, check the name is correct, that the endpoint exists, and that you are using the correct configuration (eg the "ref" attribute). Note that names on inbound and outbound endpoints cannot be used to send or receive messages; use a named global endpoint instead.
    Code : MULE_ERROR-64051
    --------------------------------------------------------------------------------
    Exception stack is:
    1. The endpoint "imap://mule@dossot.net:esb123@mail.gandi.net:143" is malformed and cannot be parsed. If this is the name of a global endpoint, check the name is correct, that the endpoint exists, and that you are using the correct configuration (eg the "ref" attribute). Note that names on inbound and outbound endpoints cannot be used to send or receive messages; use a named global endpoint instead. (org.mule.api.endpoint.MalformedEndpointException)
      org.mule.endpoint.UserInfoEndpointURIBuilder:34 (http://www.mulesoft.org/docs/site/current2/apidocs/org/mule/api/endpoint/MalformedEndpointException.html)
    --------------------------------------------------------------------------------
    Root Exception stack trace:
    org.mule.api.endpoint.MalformedEndpointException: The endpoint "imap://mule@dossot.net:esb123@mail.gandi.net:143" is malformed and cannot be parsed. If this is the name of a global endpoint, check the name is correct, that the endpoint exists, and that you are using the correct configuration (eg the "ref" attribute). Note that names on inbound and outbound endpoints cannot be used to send or receive messages; use a named global endpoint instead.
    at org.mule.endpoint.UserInfoEndpointURIBuilder.setEndpoint(UserInfoEndpointURIBuilder.java:34)
    at org.mule.endpoint.AbstractEndpointURIBuilder.build(AbstractEndpointURIBuilder.java:55)
    at org.mule.endpoint.MuleEndpointURI.initialise(MuleEndpointURI.java:172)
        + 3 more (set debug level logging or '-Dmule.verbose.exceptions=true' for everything)
    ********************************************************************************
    Show
    ERROR 2010-10-11 12:23:37,896 [main] org.mule.MuleServer: ******************************************************************************** Message : The endpoint "imap://mule@dossot.net:esb123@mail.gandi.net:143" is malformed and cannot be parsed. If this is the name of a global endpoint, check the name is correct, that the endpoint exists, and that you are using the correct configuration (eg the "ref" attribute). Note that names on inbound and outbound endpoints cannot be used to send or receive messages; use a named global endpoint instead. Code : MULE_ERROR-64051 -------------------------------------------------------------------------------- Exception stack is: 1. The endpoint "imap://mule@dossot.net:esb123@mail.gandi.net:143" is malformed and cannot be parsed. If this is the name of a global endpoint, check the name is correct, that the endpoint exists, and that you are using the correct configuration (eg the "ref" attribute). Note that names on inbound and outbound endpoints cannot be used to send or receive messages; use a named global endpoint instead. (org.mule.api.endpoint.MalformedEndpointException)   org.mule.endpoint.UserInfoEndpointURIBuilder:34 (http://www.mulesoft.org/docs/site/current2/apidocs/org/mule/api/endpoint/MalformedEndpointException.html) -------------------------------------------------------------------------------- Root Exception stack trace: org.mule.api.endpoint.MalformedEndpointException: The endpoint "imap://mule@dossot.net:esb123@mail.gandi.net:143" is malformed and cannot be parsed. If this is the name of a global endpoint, check the name is correct, that the endpoint exists, and that you are using the correct configuration (eg the "ref" attribute). Note that names on inbound and outbound endpoints cannot be used to send or receive messages; use a named global endpoint instead. at org.mule.endpoint.UserInfoEndpointURIBuilder.setEndpoint(UserInfoEndpointURIBuilder.java:34) at org.mule.endpoint.AbstractEndpointURIBuilder.build(AbstractEndpointURIBuilder.java:55) at org.mule.endpoint.MuleEndpointURI.initialise(MuleEndpointURI.java:172)     + 3 more (set debug level logging or '-Dmule.verbose.exceptions=true' for everything) ********************************************************************************
  • Similar Issues:
    None

Description

In Mule 2, it was possible to use a user name containing a @ by escaping it as %40 as shown in the configuration field.

In Mule 3, the log output shows the error I get. Using @ instead of %40 doesn't help.

It seems related to MULE-5084 (i.e. endpoint address gets unescaped too early and becomes an invalid URI).

Issue Links

relates to

Bug - A problem which impairs or prevents the functions of the product. MULE-5171 IMAP transport inbound endpoint doesn't work. Fails to retrieve email messages

  • Blocker - Blocks development and/or testing work, production could not run.
  • Closed - The issue is considered finished, the resolution is correct. Issues which are not closed can be reopened.

Activity

Ascending order - Click to sort in descending order
  • All
  • Comments
  • Work Log
  • History
  • Activity
  • Transitions
  • Commits
  • Source
  • Builds
Mike Schilling made changes - 18/Oct/10 02:15 PM
Field Original Value New Value
Priority To be reviewed [ 6 ] Critical [ 2 ]
Mike Schilling made changes - 18/Oct/10 02:18 PM
Fix Version/s Bug Backlog [ 10522 ]
Dirk Olmes made changes - 26/Oct/10 10:53 AM
Assignee Mike Schilling [ mike.schilling ]
Mike Schilling made changes - 26/Oct/10 03:12 PM
Fix Version/s 3.0.1 [ 10877 ]
Mike Schilling made changes - 27/Oct/10 02:56 PM
Link This issue blocks BL-294 [ BL-294 ]
Mike Schilling made changes - 01/Nov/10 03:33 PM
Labels uri_parsing
Mike Schilling made changes - 04/Nov/10 01:14 PM
Status Open [ 1 ] Closed [ 6 ]
Resolution Fixed [ 1 ]
Mike Schilling made changes - 07/Nov/10 07:48 PM
Resolution Fixed [ 1 ]
Status Closed [ 6 ] Reopened [ 4 ]
Mike Schilling made changes - 07/Nov/10 07:49 PM
Fix Version/s 3.1.0 [ 10898 ]
Fix Version/s Bug Backlog [ 10522 ]
Mike Schilling made changes - 07/Nov/10 07:49 PM
Status Reopened [ 4 ] Closed [ 6 ]
Resolution Fixed [ 1 ]
Dirk Olmes made changes - 24/Nov/10 05:41 AM
Link This issue relates to MULE-5171 [ MULE-5171 ]

People

  • Assignee:
    Mike Schilling
    Reporter:
    David Dossot
Vote (1)
Watch (3)

Dates

  • Created:
    11/Oct/10 02:29 PM
    Updated:
    24/Nov/10 05:41 AM
    Resolved:
    07/Nov/10 07:49 PM

Agile

  • View on Board
  • Atlassian JIRA (v5.0.7#734-sha1:8ad78a6)
  • Report a problem
  • Powered by a free Atlassian JIRA open source license for MuleForge. Try JIRA - bug tracking software for your team.