[jira] [Commented] (PROTON-506) Queue names with '@' symbol cause incorrect hostname lookup

2014-03-11 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/PROTON-506?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13930544#comment-13930544
 ] 

ASF subversion and git services commented on PROTON-506:


Commit 1576412 from [~astitcher] in branch 'proton/trunk'
[ https://svn.apache.org/r1576412 ]

PROTON-506: Added unit tests for Java url parser

 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: Andrew Stitcher
 Fix For: 0.7

 Attachments: 
 0001-PROTON-506-Fix-address-URL-parser-to-correctly-ident.patch


 I have need to create a queue with the following name (no quotes):
 cel...@dhcp129-138.rdu.redhat.com.celery.pidbox
 I try to subscribe using the string 
 'amqp://localhost/cel...@dhcp129-138.rdu.redhat.com.celery.pidbox'
 I receive the following error:
 Unrecoverable error: MessengerException('[-2]: unable to connect to 
 amqp://localhost/cel...@dhcp129-138.rdu.redhat.com.celery.pidbox: 
 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.2#6252)


[jira] [Commented] (PROTON-506) Queue names with '@' symbol cause incorrect hostname lookup

2014-03-11 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/PROTON-506?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13930545#comment-13930545
 ] 

ASF subversion and git services commented on PROTON-506:


Commit 1576413 from [~astitcher] in branch 'proton/trunk'
[ https://svn.apache.org/r1576413 ]

PROTON-506: Fix Java address URL parser to correctly identify the host component
if there is an '@' character in the path component.

 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: Andrew Stitcher
 Fix For: 0.7

 Attachments: 
 0001-PROTON-506-Fix-address-URL-parser-to-correctly-ident.patch


 I have need to create a queue with the following name (no quotes):
 cel...@dhcp129-138.rdu.redhat.com.celery.pidbox
 I try to subscribe using the string 
 'amqp://localhost/cel...@dhcp129-138.rdu.redhat.com.celery.pidbox'
 I receive the following error:
 Unrecoverable error: MessengerException('[-2]: unable to connect to 
 amqp://localhost/cel...@dhcp129-138.rdu.redhat.com.celery.pidbox: 
 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.2#6252)


[jira] [Commented] (PROTON-506) Queue names with '@' symbol cause incorrect hostname lookup

2014-03-11 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/PROTON-506?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13930660#comment-13930660
 ] 

ASF subversion and git services commented on PROTON-506:


Commit 1576442 from [~astitcher] in branch 'proton/trunk'
[ https://svn.apache.org/r1576442 ]

PROTON-506: Fix for Visual Studio

 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: Andrew Stitcher
 Fix For: 0.7

 Attachments: 
 0001-PROTON-506-Fix-address-URL-parser-to-correctly-ident.patch


 I have need to create a queue with the following name (no quotes):
 cel...@dhcp129-138.rdu.redhat.com.celery.pidbox
 I try to subscribe using the string 
 'amqp://localhost/cel...@dhcp129-138.rdu.redhat.com.celery.pidbox'
 I receive the following error:
 Unrecoverable error: MessengerException('[-2]: unable to connect to 
 amqp://localhost/cel...@dhcp129-138.rdu.redhat.com.celery.pidbox: 
 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.2#6252)


[jira] [Commented] (PROTON-506) Queue names with '@' symbol cause incorrect hostname lookup

2014-03-10 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/PROTON-506?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13926231#comment-13926231
 ] 

ASF subversion and git services commented on PROTON-506:


Commit 1576091 from [~astitcher] in branch 'proton/trunk'
[ https://svn.apache.org/r1576091 ]

PROTON-506: Fix C address URL parser to correctly identify the host component
if there is an '@' character in the path component.

 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: Andrew Stitcher
 Fix For: 0.7

 Attachments: 
 0001-PROTON-506-Fix-address-URL-parser-to-correctly-ident.patch


 I have need to create a queue with the following name (no quotes):
 cel...@dhcp129-138.rdu.redhat.com.celery.pidbox
 I try to subscribe using the string 
 'amqp://localhost/cel...@dhcp129-138.rdu.redhat.com.celery.pidbox'
 I receive the following error:
 Unrecoverable error: MessengerException('[-2]: unable to connect to 
 amqp://localhost/cel...@dhcp129-138.rdu.redhat.com.celery.pidbox: 
 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.2#6252)


[jira] [Commented] (PROTON-506) Queue names with '@' symbol cause incorrect hostname lookup

2014-03-10 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/PROTON-506?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13926230#comment-13926230
 ] 

ASF subversion and git services commented on PROTON-506:


Commit 1576090 from [~astitcher] in branch 'proton/trunk'
[ https://svn.apache.org/r1576090 ]

PROTON-506: Added unit tests for C url parser

 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: Andrew Stitcher
 Fix For: 0.7

 Attachments: 
 0001-PROTON-506-Fix-address-URL-parser-to-correctly-ident.patch


 I have need to create a queue with the following name (no quotes):
 cel...@dhcp129-138.rdu.redhat.com.celery.pidbox
 I try to subscribe using the string 
 'amqp://localhost/cel...@dhcp129-138.rdu.redhat.com.celery.pidbox'
 I receive the following error:
 Unrecoverable error: MessengerException('[-2]: unable to connect to 
 amqp://localhost/cel...@dhcp129-138.rdu.redhat.com.celery.pidbox: 
 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.2#6252)


[jira] [Commented] (PROTON-506) Queue names with '@' symbol cause incorrect hostname lookup

2014-02-19 Thread Rafael H. Schloming (JIRA)

[ 
https://issues.apache.org/jira/browse/PROTON-506?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13905324#comment-13905324
 ] 

Rafael H. Schloming commented on PROTON-506:


Looks like a good fix to me. I'd go poke around the Java side and just verify 
we don't have the same bug there, maybe add a test somewhere and check it all 
in.

 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):
 cel...@dhcp129-138.rdu.redhat.com.celery.pidbox
 I try to subscribe using the string 
 'amqp://localhost/cel...@dhcp129-138.rdu.redhat.com.celery.pidbox'
 I receive the following error:
 Unrecoverable error: MessengerException('[-2]: unable to connect to 
 amqp://localhost/cel...@dhcp129-138.rdu.redhat.com.celery.pidbox: 
 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)


[jira] [Commented] (PROTON-506) Queue names with '@' symbol cause incorrect hostname lookup

2014-02-19 Thread Andrew Stitcher (JIRA)

[ 
https://issues.apache.org/jira/browse/PROTON-506?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13905544#comment-13905544
 ] 

Andrew Stitcher commented on PROTON-506:


I believe the problem is that the current parser parses the wrong syntax.
[ scheme :// ] [ user [ : password ] @ ] host [ : port ] [ / path ]
where
user, password cannot contain '@' or ':' but can contain '/'

I believe the correct syntax is:
[ scheme :// ] [ user [ : password ] @ ] host [ : port ] [ / path ]
where
user, password, host, port cannot contain any of '@', ':', '/'
path can contain any character

Notice the difference is in the allowed character classes for the identifiers.

 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):
 cel...@dhcp129-138.rdu.redhat.com.celery.pidbox
 I try to subscribe using the string 
 'amqp://localhost/cel...@dhcp129-138.rdu.redhat.com.celery.pidbox'
 I receive the following error:
 Unrecoverable error: MessengerException('[-2]: unable to connect to 
 amqp://localhost/cel...@dhcp129-138.rdu.redhat.com.celery.pidbox: 
 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)


[jira] [Commented] (PROTON-506) Queue names with '@' symbol cause incorrect hostname lookup

2014-02-19 Thread Andrew Stitcher (JIRA)

[ 
https://issues.apache.org/jira/browse/PROTON-506?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=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):
 cel...@dhcp129-138.rdu.redhat.com.celery.pidbox
 I try to subscribe using the string 
 'amqp://localhost/cel...@dhcp129-138.rdu.redhat.com.celery.pidbox'
 I receive the following error:
 Unrecoverable error: MessengerException('[-2]: unable to connect to 
 amqp://localhost/cel...@dhcp129-138.rdu.redhat.com.celery.pidbox: 
 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)