You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "Timothy Bish (JIRA)" <ji...@apache.org> on 2012/10/15 17:34:03 UTC

[jira] [Closed] (AMQ-4104) STOMP 1.1 CONNECTED Frame has erroneously encoded headers

     [ https://issues.apache.org/jira/browse/AMQ-4104?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Timothy Bish closed AMQ-4104.
-----------------------------

    Resolution: Cannot Reproduce

I tested this against the 5.7 release and this is not happening, the code doesn't encode headers until after the CONNECTED frame is sent and the protocol version is set.  Reopen if you can provide a JUnit test case that reproduces this.
                
> 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