Return-Path: X-Original-To: apmail-activemq-dev-archive@www.apache.org Delivered-To: apmail-activemq-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 24EF4D279 for ; Mon, 16 Jul 2012 13:52:37 +0000 (UTC) Received: (qmail 31586 invoked by uid 500); 16 Jul 2012 13:52:36 -0000 Delivered-To: apmail-activemq-dev-archive@activemq.apache.org Received: (qmail 31527 invoked by uid 500); 16 Jul 2012 13:52:36 -0000 Mailing-List: contact dev-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@activemq.apache.org Delivered-To: mailing list dev@activemq.apache.org Received: (qmail 31389 invoked by uid 99); 16 Jul 2012 13:52:35 -0000 Received: from issues-vm.apache.org (HELO issues-vm) (140.211.11.160) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 16 Jul 2012 13:52:35 +0000 Received: from isssues-vm.apache.org (localhost [127.0.0.1]) by issues-vm (Postfix) with ESMTP id 4DB921427F2 for ; Mon, 16 Jul 2012 13:52:35 +0000 (UTC) Date: Mon, 16 Jul 2012 13:52:35 +0000 (UTC) From: "Craig Hollabaugh (JIRA)" To: dev@activemq.apache.org Message-ID: <788166431.57731.1342446755322.JavaMail.jiratomcat@issues-vm> In-Reply-To: <1550415748.56668.1342421434342.JavaMail.jiratomcat@issues-vm> Subject: [jira] [Reopened] (AMQ-3928) message-id colons are inconsistently escaped MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/AMQ-3928?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Craig Hollabaugh reopened AMQ-3928: ----------------------------------- 'session' header isn't escaped. holla@knopfler[501]: nc eric 61613 CONNECT accept-version:1.1 heart-beat:0,0 ^@ CONNECTED heart-beat:0,0 session:ID:eric-51104-1342368411805-2:29 server:ActiveMQ/5.7-SNAPSHOT version:1.1 > 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