activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Craig Hollabaugh (JIRA)" <j...@apache.org>
Subject [jira] [Created] (AMQ-3928) message-id colons are inconsistently escaped
Date Mon, 16 Jul 2012 06:50:33 GMT
Craig Hollabaugh created AMQ-3928:
-------------------------------------

             Summary: message-id colons are inconsistently escaped  
                 Key: AMQ-3928
                 URL: https://issues.apache.org/jira/browse/AMQ-3928
             Project: ActiveMQ
          Issue Type: Bug
          Components: stomp
    Affects Versions: 5.7.0
         Environment: ubuntu 10.04 32bit java version "1.6.0_24" OpenJDK
            Reporter: Craig Hollabaugh


stomp version 1.0 and 1.1 have different ':' escaping for the message-id header.

------------------
here's 1.0 example

holla@knopfler[513]: nc eric 61613
CONNECT
accept-version:1.0
heart-beat:0,0

^@
CONNECTED
heart-beat:0,0
session:ID:eric-51104-1342368411805-2:20
server:ActiveMQ/5.7-SNAPSHOT
version:1.0


SUBSCRIBE
destination:/queue/foo

^@
MESSAGE
message-id:ID:eric-51104-1342368411805-4:5:1:1:8
type:
destination:/queue/foo
timestamp:1342420889593
expires:0
priority:0
correlation-id:

Enter some text here for the message body...
^\Quit

----------------------
here's 1.1 example

holla@knopfler[514]: nc eric 61613
CONNECT
accept-version:1.1
heart-beat:0,0

^@
CONNECTED
heart-beat:0,0
session:ID:eric-51104-1342368411805-2:21
server:ActiveMQ/5.7-SNAPSHOT
version:1.1


SUBSCRIBE
id:112233
destination:/queue/foo

^@
MESSAGE
message-id:ID\ceric-51104-1342368411805-4\c5\c1\c1\c9
type:
destination:/queue/foo
timestamp:1342421009684
expires:0
subscription:112233
priority:0
correlation-id:

Enter some text here for the message body...
^\Quit


summary

v1.0
MESSAGE
message-id:ID:eric-51104-1342368411805-4:5:1:1:8

v1.1
MESSAGE
message-id:ID\ceric-51104-1342368411805-4\c5\c1\c1\c9


I don't know if ':' chars in all stomp headers/properties are supposed to escaped. in version
1.1, session and message-id are also escaped inconsistently. Shown here

...
session:ID:eric-51104-1342368411805-2:21
...
message-id:ID\ceric-51104-1342368411805-4\c5\c1\c1\c9


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message