Guy Allard created AMQ-4104:
-------------------------------

             Summary: STOMP 1.1 CONNECTED Frame has erroneously encoded headers
                 Key: AMQ-4104
                 URL: https://issues.apache.org/jira/browse/AMQ-4104
             Project: ActiveMQ
          Issue Type: Bug
          Components: stomp
    Affects Versions: 5.7.0
         Environment: Ubuntu 11.10

            Reporter: Guy Allard


The STOMP 1.1 specification says:

All frames except the CONNECT and CONNECTED frames will also escape any colon 
or newline octets found in the resulting UTF-8 encoded headers. ...... The 
CONNECT and CONNECTED frames do not escape the colon or newline octets in order 
to remain backward compatible with STOMP 1.0.

AMQ 5.7.0 is out of specification with regard to this.

Example telnet session:

$ telnet tjjackson 61613
Trying 192.168.1.200...
Connected to tjjackson.
Escape character is '^]'.
CONNECT
login:me
passcode:asdasd
accept-version:1.1
host:tjjackson
heart-beat:10000,15000

^@
CONNECTED
heart-beat:15000,10000
session:ID\ctjjackson-55318-1350137693500-2\c1
server:ActiveMQ/5.7.0
version:1.1


--
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

Reply via email to