Return-Path: Delivered-To: apmail-tapestry-users-archive@www.apache.org Received: (qmail 8515 invoked from network); 11 Dec 2008 19:38:02 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 11 Dec 2008 19:38:02 -0000 Received: (qmail 12560 invoked by uid 500); 11 Dec 2008 19:38:08 -0000 Delivered-To: apmail-tapestry-users-archive@tapestry.apache.org Received: (qmail 12541 invoked by uid 500); 11 Dec 2008 19:38:08 -0000 Mailing-List: contact users-help@tapestry.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tapestry users" Delivered-To: mailing list users@tapestry.apache.org Received: (qmail 12530 invoked by uid 99); 11 Dec 2008 19:38:08 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 11 Dec 2008 11:38:08 -0800 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 Andrew.Blower@proquest.co.uk designates 195.22.151.40 as permitted sender) Received: from [195.22.151.40] (HELO CBGPQHTCAS02.proque.st) (195.22.151.40) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 11 Dec 2008 19:37:53 +0000 Received: from CBGPQMAILBX01V.proque.st ([172.18.0.55]) by CBGPQHTCAS02.proque.st ([172.18.0.54]) with mapi; Thu, 11 Dec 2008 19:37:32 +0000 From: "Blower, Andy" To: 'Tapestry users' Date: Thu, 11 Dec 2008 19:37:31 +0000 Subject: RE: [T5] 5.0.17 URLEncoderImpl.decode error Thread-Topic: [T5] 5.0.17 URLEncoderImpl.decode error Thread-Index: AclbFpFobPIKnXdrS8KwiHBdD93MnQArLHuQ Message-ID: References: <5258d8d70812020631v4480d3c6n88426ec703d97de2@mail.gmail.com> <49404080.50207@cumquat.nl> In-Reply-To: Accept-Language: en-US, en-GB Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US, en-GB Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Virus-Checked: Checked by ClamAV on apache.org I think the new URL encoding scheme should have some characters added to th= e safe list, including @. According to the BNF for URLs (http://www.w3.org/Addressing/URL/url-spec.ht= ml), the following characters are perfectly valid for URLs: $-_@.&+-!*"'(), -_. are already in the safe list, and I'm proposing that the others from th= e list above are all added as well. (except $ of course) The main reason for this is Tapestry's new encoding scheme makes some of my= application's URL's incredibly ugly with its $00xx replacements everywhere= . What do you all think? Andy > -----Original Message----- > From: Thiago H. de Paula Figueiredo [mailto:thiagohp@gmail.com] > Sent: 10 December 2008 23:28 > To: Tapestry users > Subject: Re: [T5] 5.0.17 URLEncoderImpl.decode error > > Em Wed, 10 Dec 2008 19:19:44 -0300, Leon Derks > escreveu: > > > Hello > > Hi! > > > I do get an java.lang.IllegalArgumentException > > It says: "Input string 'user@company.com' is not valid; the character > > '@' at position 5 is not valid." > > I didn't had this problem in tapestry 5.0.14. > > I searched in the changes, but couldn't find a change that would > cause > > this error. > > That's here: https://issues.apache.org/jira/browse/TAP5-302. Look at > the > last comment. The default URL encoding used by Tapestry was changed in > 5.0.16. > > -- > Thiago H. de Paula Figueiredo > Independent Java consultant, developer, and instructor > http://www.arsmachina.com.br/thiago > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org > For additional commands, e-mail: users-help@tapestry.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org For additional commands, e-mail: users-help@tapestry.apache.org