Return-Path: X-Original-To: apmail-activemq-commits-archive@www.apache.org Delivered-To: apmail-activemq-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id B07C3C722 for ; Fri, 25 Jan 2013 20:29:12 +0000 (UTC) Received: (qmail 51525 invoked by uid 500); 25 Jan 2013 20:29:12 -0000 Delivered-To: apmail-activemq-commits-archive@activemq.apache.org Received: (qmail 51449 invoked by uid 500); 25 Jan 2013 20:29:12 -0000 Mailing-List: contact commits-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 commits@activemq.apache.org Received: (qmail 51441 invoked by uid 99); 25 Jan 2013 20:29:12 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 25 Jan 2013 20:29:12 +0000 Date: Fri, 25 Jan 2013 20:29:12 +0000 (UTC) From: "Avril Kenney (JIRA)" To: commits@activemq.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (APLO-289) spaces in topic IDs get "\u0020" inserted before them MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Avril Kenney created APLO-289: --------------------------------- Summary: spaces in topic IDs get "\u0020" inserted before them Key: APLO-289 URL: https://issues.apache.org/jira/browse/APLO-289 Project: ActiveMQ Apollo Issue Type: Bug Components: apollo-stomp Affects Versions: 1.5 Reporter: Avril Kenney Priority: Minor If I try to create a topic/queue with a space in the name, it inserts "\u0020" preceding each space. Here is an example in Python: -------- import socket connect_frame = 'CONNECT\n\nlogin:admin\npasscode:password\n\n\x00' frame = 'SEND\ndestination:/topic/the next topic\n\nhello\x00' sock.connect(host_and_ports) # where host_and_ports is a tuple (host, port) sock.sendall(connect_frame) sock.sendall(frame) -------- Then when I get the topic information (by looking at it in the web interface or by http-getting the json info in Python), the topic id is the\u0020 next\u0020 topic We recently upgraded from Apollo 1.0 to 1.5, and I think that this issue coincides with the upgrade (there were definitely successful uses of topics with spaces in them before the upgrade). -- 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