[
https://issues.apache.org/jira/browse/PROTON-506?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13906639#comment-13906639
]
Andrew Stitcher commented on PROTON-506:
----------------------------------------
The java code seems to have the same parsing problem
I've changed the suggested fix to include a fix to that too, however I've not
now got time to tool up to write tests from scratch for either C or Java so I
won't checkin this change as it wouldn't be tested.
My problem is that there seems to be no current place in either the C or Java
code for unit tests for code internal to Messenger (or at least I didn't find
it).
> Queue names with '@' symbol cause incorrect hostname lookup
> -----------------------------------------------------------
>
> Key: PROTON-506
> URL: https://issues.apache.org/jira/browse/PROTON-506
> Project: Qpid Proton
> Issue Type: Bug
> Components: python-binding
> Affects Versions: 0.6
> Reporter: Brian Bouterse
> Assignee: Rafael H. Schloming
> Fix For: 0.7
>
> Attachments: proton-506.diff
>
>
> I have need to create a queue with the following name (no quotes):
> "[email protected]"
> I try to subscribe using the string
> 'amqp://localhost/[email protected]'
> I receive the following error:
> Unrecoverable error: MessengerException('[-2]: unable to connect to
> amqp://localhost/[email protected]:
> getaddrinfo(dhcp129-138.rdu.redhat.com.celery.pidbox, 5672): Name or service
> not known',)
> I expected the hostname to be 'localhost', but instead the hostname being
> used is 'dhcp129-138.rdu.redhat.com.celery.pidbox' which is not an actual
> hostname.
> Better interpretation of the string would resolve this.
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)