You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Rajith Attapattu (JIRA)" <qp...@incubator.apache.org> on 2009/03/06 21:17:58 UTC
[jira] Created: (QPID-1720) If client id contains an underscore it
is not recognized in connection URL parsing
If client id contains an underscore it is not recognized in connection URL parsing
----------------------------------------------------------------------------------
Key: QPID-1720
URL: https://issues.apache.org/jira/browse/QPID-1720
Project: Qpid
Issue Type: Bug
Components: Java Client
Affects Versions: M4
Reporter: Rajith Attapattu
Assignee: Rajith Attapattu
Fix For: M5
When the following URL is parsed the client ID is not recognized and therefore a unique ID is generated.
amqp://user:pass@client_id/test?brokerlist='tcp://localhost:5672'
The java URI parser skips it due to the underscore.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project: http://qpid.apache.org
Use/Interact: mailto:dev-subscribe@qpid.apache.org
[jira] Resolved: (QPID-1720) If client id contains an underscore it
is not recognized in connection URL parsing
Posted by "Rajith Attapattu (JIRA)" <qp...@incubator.apache.org>.
[ https://issues.apache.org/jira/browse/QPID-1720?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Rajith Attapattu resolved QPID-1720.
------------------------------------
Resolution: Fixed
> If client id contains an underscore it is not recognized in connection URL parsing
> ----------------------------------------------------------------------------------
>
> Key: QPID-1720
> URL: https://issues.apache.org/jira/browse/QPID-1720
> Project: Qpid
> Issue Type: Bug
> Components: Java Client
> Affects Versions: M4
> Reporter: Rajith Attapattu
> Assignee: Rajith Attapattu
> Fix For: 0.6
>
>
> When the following URL is parsed the client ID is not recognized and therefore a unique ID is generated.
> amqp://user:pass@client_id/test?brokerlist='tcp://localhost:5672'
> The java URI parser skips it due to the underscore.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project: http://qpid.apache.org
Use/Interact: mailto:dev-subscribe@qpid.apache.org
[jira] Updated: (QPID-1720) If client id contains an underscore it
is not recognized in connection URL parsing
Posted by "Rajith Attapattu (JIRA)" <qp...@incubator.apache.org>.
[ https://issues.apache.org/jira/browse/QPID-1720?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Rajith Attapattu updated QPID-1720:
-----------------------------------
Status: Ready To Review (was: In Progress)
> If client id contains an underscore it is not recognized in connection URL parsing
> ----------------------------------------------------------------------------------
>
> Key: QPID-1720
> URL: https://issues.apache.org/jira/browse/QPID-1720
> Project: Qpid
> Issue Type: Bug
> Components: Java Client
> Affects Versions: M4
> Reporter: Rajith Attapattu
> Assignee: Rajith Attapattu
> Fix For: 0.6
>
>
> When the following URL is parsed the client ID is not recognized and therefore a unique ID is generated.
> amqp://user:pass@client_id/test?brokerlist='tcp://localhost:5672'
> The java URI parser skips it due to the underscore.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project: http://qpid.apache.org
Use/Interact: mailto:dev-subscribe@qpid.apache.org
[jira] Commented: (QPID-1720) If client id contains an underscore
it is not recognized in connection URL parsing
Posted by "Rajith Attapattu (JIRA)" <qp...@incubator.apache.org>.
[ https://issues.apache.org/jira/browse/QPID-1720?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12682338#action_12682338 ]
Rajith Attapattu commented on QPID-1720:
----------------------------------------
This is fixed in Qpid trunk at rev 751061
The fix is a bit of a hack. If client id is specified with an underscore (ex my_clientid) then the .getHost() method would return empty.
In that case I do an additional check to see if the client id is indeed specified by inspecting the value returned by .getAuthority().
> If client id contains an underscore it is not recognized in connection URL parsing
> ----------------------------------------------------------------------------------
>
> Key: QPID-1720
> URL: https://issues.apache.org/jira/browse/QPID-1720
> Project: Qpid
> Issue Type: Bug
> Components: Java Client
> Affects Versions: M4
> Reporter: Rajith Attapattu
> Assignee: Rajith Attapattu
> Fix For: M5
>
>
> When the following URL is parsed the client ID is not recognized and therefore a unique ID is generated.
> amqp://user:pass@client_id/test?brokerlist='tcp://localhost:5672'
> The java URI parser skips it due to the underscore.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project: http://qpid.apache.org
Use/Interact: mailto:dev-subscribe@qpid.apache.org
[jira] Updated: (QPID-1720) If client id contains an underscore it
is not recognized in connection URL parsing
Posted by "Rajith Attapattu (JIRA)" <qp...@incubator.apache.org>.
[ https://issues.apache.org/jira/browse/QPID-1720?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Rajith Attapattu updated QPID-1720:
-----------------------------------
Fix Version/s: (was: 0.5)
0.6
Moved the fix version 0-6 from 0-5.
> If client id contains an underscore it is not recognized in connection URL parsing
> ----------------------------------------------------------------------------------
>
> Key: QPID-1720
> URL: https://issues.apache.org/jira/browse/QPID-1720
> Project: Qpid
> Issue Type: Bug
> Components: Java Client
> Affects Versions: M4
> Reporter: Rajith Attapattu
> Assignee: Rajith Attapattu
> Fix For: 0.6
>
>
> When the following URL is parsed the client ID is not recognized and therefore a unique ID is generated.
> amqp://user:pass@client_id/test?brokerlist='tcp://localhost:5672'
> The java URI parser skips it due to the underscore.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project: http://qpid.apache.org
Use/Interact: mailto:dev-subscribe@qpid.apache.org