Return-Path: Delivered-To: apmail-incubator-abdera-dev-archive@locus.apache.org Received: (qmail 70618 invoked from network); 12 May 2008 16:31:16 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 12 May 2008 16:31:16 -0000 Received: (qmail 8908 invoked by uid 500); 12 May 2008 16:31:18 -0000 Delivered-To: apmail-incubator-abdera-dev-archive@incubator.apache.org Received: (qmail 8885 invoked by uid 500); 12 May 2008 16:31:18 -0000 Mailing-List: contact abdera-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: abdera-dev@incubator.apache.org Delivered-To: mailing list abdera-dev@incubator.apache.org Received: (qmail 8874 invoked by uid 99); 12 May 2008 16:31:18 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 12 May 2008 09:31:18 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 12 May 2008 16:30:41 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 983B6234C10F for ; Mon, 12 May 2008 09:30:55 -0700 (PDT) Message-ID: <51162150.1210609855612.JavaMail.jira@brutus> Date: Mon, 12 May 2008 09:30:55 -0700 (PDT) From: "James M Snell (JIRA)" To: abdera-dev@incubator.apache.org Subject: [jira] Resolved: (ABDERA-150) EncodingUtil.sanitize() behavior has changed In-Reply-To: <1631069530.1208585301737.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/ABDERA-150?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] James M Snell resolved ABDERA-150. ---------------------------------- Resolution: Won't Fix Current behavior is preferrable to the old behavior > EncodingUtil.sanitize() behavior has changed > -------------------------------------------- > > Key: ABDERA-150 > URL: https://issues.apache.org/jira/browse/ABDERA-150 > Project: Abdera > Issue Type: Bug > Affects Versions: 0.4.0 > Reporter: Todd Wells > > In the 3.0 client, EncodingUtil.sanitize() would escape a space in a String correctly -- with "%20". Now it replaces it with an underbar ("_"). > Sanitizer.sanitize() does the same thing. So existing code that depended on this method is now broken. > For example when using Abdera with Mule Galaxy, it has a default URL that includes a space for it's atom feeds "Default Workspace", so the Abdera sanitizer couldn't be used reliably since it would make this "Default_Workspace". And looking at the code, sanitize only allows to to specify a particular slug to replace all undesired characters with -- so blindly saying replace with "%20" means that all undesired characters would be replaced with that, rather than with the proper HTML encoding. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.