Return-Path: Delivered-To: apmail-incubator-esme-dev-archive@minotaur.apache.org Received: (qmail 33253 invoked from network); 3 Jan 2010 16:02:03 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 3 Jan 2010 16:02:03 -0000 Received: (qmail 14936 invoked by uid 500); 3 Jan 2010 16:02:03 -0000 Delivered-To: apmail-incubator-esme-dev-archive@incubator.apache.org Received: (qmail 14879 invoked by uid 500); 3 Jan 2010 16:02:03 -0000 Mailing-List: contact esme-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: esme-dev@incubator.apache.org Delivered-To: mailing list esme-dev@incubator.apache.org Received: (qmail 14869 invoked by uid 99); 3 Jan 2010 16:02:03 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 03 Jan 2010 16:02:03 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of hirsch.dick@gmail.com designates 209.85.218.210 as permitted sender) Received: from [209.85.218.210] (HELO mail-bw0-f210.google.com) (209.85.218.210) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 03 Jan 2010 16:01:55 +0000 Received: by bwz2 with SMTP id 2so8156397bwz.20 for ; Sun, 03 Jan 2010 08:01:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=6JSTqI3GwxT1FqnsYZoG8z4vbPD78ARRY6fr+SVrfnQ=; b=adbVEjYlyPsWwYrlocf4cNviAzyfIHq0KgjYC+iPlx524xRC3cqMOHuTrNq+4DevU9 NXs1dMUU/m74/+3whwirQFNyT1RWCvnQklFHP6P+Nxh8SGR/+tqSsBAhWlWeZiCfZSF7 BZryL4/jgtroMhgOhQwSqnE+YFAK72BaWhHP0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=BbvWggWRw3nABYkRzp7oIyYKAyOGNNzShSbhrZlYc3hurz4CjlNmSOsuEeso05+fJs EWa42SV7/bibNDUv7qA3REl+raWRDw+I91Ghn0SNjOIcPIuSilG5yaXLXN5PQOuyP4z/ guU7hp6iCtZqvaRg3WRVpmgZy5wIsrlAc9bvA= MIME-Version: 1.0 Received: by 10.204.151.210 with SMTP id d18mr1106628bkw.203.1262534494526; Sun, 03 Jan 2010 08:01:34 -0800 (PST) In-Reply-To: <68f4a0e81001030752g34ddd6wf64290ddd9226e93@mail.gmail.com> References: <68f4a0e81001030752g34ddd6wf64290ddd9226e93@mail.gmail.com> Date: Sun, 3 Jan 2010 17:01:34 +0100 Message-ID: Subject: Re: Posting message to pool strips tags - Bug? From: Richard Hirsch To: esme-dev@incubator.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org Doesn't make much sense to me. Probably Vassil knows the reason why this code is present since the pool is code is from him. D. On Sun, Jan 3, 2010 at 4:52 PM, Ethan Jewett wrote: > Hi, > > I've got Jira issue 151 > (https://issues.apache.org/jira/browse/ESME-151) created because Sig > (Thingamy) is reporting issues posting messages to pools. > Specifically, tags are stripped when posting to a pool. > > The reason is little code snippet in the UserActor.scala file: > > =A0 =A0 =A0 =A0val tagLst =3D pool match { > =A0 =A0 =A0 =A0 =A0case Empty =3D> tags.removeDuplicates.map(Tag.findOrCr= eate) > =A0 =A0 =A0 =A0 =A0case _ =3D> Nil > =A0 =A0 =A0 =A0} > > It removes tags when a message is posted to a pool. > > Is there here for a reason? Is there a security reason? It's > definitely something we need to fix, but I want to be sure that I'm > not exposing messages in a pool through the tag UI. > > I think I will go ahead and fix this so that Sig can continue, but if > there is something else that needs to be adjusted, please let me know > and I'll work on that as well. > > Thanks, > Ethan >