You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (JIRA)" <ji...@apache.org> on 2012/09/13 11:42:10 UTC

[jira] [Created] (CAMEL-5603) Camel endpoints with user info using @ sign in username or password should be encoded

Claus Ibsen created CAMEL-5603:
----------------------------------

             Summary: Camel endpoints with user info using @ sign in username or password should be encoded
                 Key: CAMEL-5603
                 URL: https://issues.apache.org/jira/browse/CAMEL-5603
             Project: Camel
          Issue Type: Bug
          Components: camel-core
    Affects Versions: 2.10.0, 2.9.0
            Reporter: Claus Ibsen
            Assignee: Claus Ibsen
             Fix For: 2.11.0


If people use user info in Camel endpoint uris, and they have a @ sign in for example the username and/or the password. Then that should be percent encoded to %40. This is needed to ensure the java.net.URI can parse it and grab the UserInfo.

For example some components support userinfo, such as FTP etc. And they grab the details using the UserInfo from the java.net.URI class.

See nabble
http://camel.465427.n5.nabble.com/Issues-with-URI-containing-40-or-26-tp5719118.html

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Resolved] (CAMEL-5603) Camel endpoints with user info using @ sign in username or password should be encoded

Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CAMEL-5603?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Claus Ibsen resolved CAMEL-5603.
--------------------------------

    Resolution: Fixed
    
> Camel endpoints with user info using @ sign in username or password should be encoded
> -------------------------------------------------------------------------------------
>
>                 Key: CAMEL-5603
>                 URL: https://issues.apache.org/jira/browse/CAMEL-5603
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-core
>    Affects Versions: 2.9.0, 2.10.0
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>             Fix For: 2.11.0
>
>
> If people use user info in Camel endpoint uris, and they have a @ sign in for example the username and/or the password. Then that should be percent encoded to %40. This is needed to ensure the java.net.URI can parse it and grab the UserInfo.
> For example some components support userinfo, such as FTP etc. And they grab the details using the UserInfo from the java.net.URI class.
> See nabble
> http://camel.465427.n5.nabble.com/Issues-with-URI-containing-40-or-26-tp5719118.html

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (CAMEL-5603) Camel endpoints with user info using @ sign in username or password should be encoded

Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CAMEL-5603?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Claus Ibsen updated CAMEL-5603:
-------------------------------

    Issue Type: Improvement  (was: Bug)
    
> Camel endpoints with user info using @ sign in username or password should be encoded
> -------------------------------------------------------------------------------------
>
>                 Key: CAMEL-5603
>                 URL: https://issues.apache.org/jira/browse/CAMEL-5603
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-core
>    Affects Versions: 2.9.0, 2.10.0
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>             Fix For: 2.11.0
>
>
> If people use user info in Camel endpoint uris, and they have a @ sign in for example the username and/or the password. Then that should be percent encoded to %40. This is needed to ensure the java.net.URI can parse it and grab the UserInfo.
> For example some components support userinfo, such as FTP etc. And they grab the details using the UserInfo from the java.net.URI class.
> See nabble
> http://camel.465427.n5.nabble.com/Issues-with-URI-containing-40-or-26-tp5719118.html

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira