Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 20AB9200CB6 for ; Wed, 14 Jun 2017 22:06:05 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 1EF29160BD6; Wed, 14 Jun 2017 20:06:05 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 6E842160BDB for ; Wed, 14 Jun 2017 22:06:04 +0200 (CEST) Received: (qmail 68670 invoked by uid 500); 14 Jun 2017 20:06:03 -0000 Mailing-List: contact issues-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 issues@activemq.apache.org Received: (qmail 68654 invoked by uid 99); 14 Jun 2017 20:06:03 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 14 Jun 2017 20:06:03 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 36F31CFC48 for ; Wed, 14 Jun 2017 20:06:03 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -99.211 X-Spam-Level: X-Spam-Status: No, score=-99.211 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id l7nJHPAThSpM for ; Wed, 14 Jun 2017 20:06:01 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id 180645FB17 for ; Wed, 14 Jun 2017 20:06:01 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id A6A42E092E for ; Wed, 14 Jun 2017 20:06:00 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 2352C21E0C for ; Wed, 14 Jun 2017 20:06:00 +0000 (UTC) Date: Wed, 14 Jun 2017 20:06:00 +0000 (UTC) From: =?utf-8?Q?Albertas_Vy=C5=A1niauskas_=28JIRA=29?= To: issues@activemq.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (AMQ-6699) STOMP headers are not escaped when using WebSocket MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Wed, 14 Jun 2017 20:06:05 -0000 [ https://issues.apache.org/jira/browse/AMQ-6699?page=3Dcom.atlassian.j= ira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D160496= 00#comment-16049600 ]=20 Albertas Vy=C5=A1niauskas commented on AMQ-6699: ------------------------------------------- Thank you. > STOMP headers are not escaped when using WebSocket > -------------------------------------------------- > > Key: AMQ-6699 > URL: https://issues.apache.org/jira/browse/AMQ-6699 > Project: ActiveMQ > Issue Type: Bug > Components: stomp > Affects Versions: 5.14.5 > Environment: Java SE Runtime Environment (build 1.8.0_102-b14) > Reporter: Albertas Vy=C5=A1niauskas > Assignee: Timothy Bish > Priority: Minor > Fix For: 5.15.0, 5.14.6 > > Attachments: stomp-over-websocket-escape-2.patch, stomp-over-webs= ocket-escape.patch > > > When using STOMP over WebSockets, STOMP header values are not escaped in = frames sent by ActiveMQ. > When the following frame is sent: > {quote} > SEND > destination:/queue/test > escaped-header:one\ntwo\cthree > Hello World > {quote} > ActiveMQ interprets escaped headers correctly, but does not escape them w= hen sending own frames: > {quote} > MESSAGE > expires:0 > destination:/queue/test > subscription:12345 > priority:4 > escaped-header:one > two:three > message-id:ID:-50091-1497003246573-3:1:-1:1:1 > timestamp:1497003247783 > Hello World > {quote} > Correctly escaped frame should look like this: > {quote} > MESSAGE > expires:0 > destination:/queue/test > subscription:12345 > priority:4 > escaped-header:one\ntwo\cthree > message-id:ID\c-50091-1497003246573-3\c1\c-1\c1\c1 > timestamp:1497003247783 > Hello World > {quote} -- This message was sent by Atlassian JIRA (v6.4.14#64029)