tapestry-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Blower, Andy" <Andrew.Blo...@proquest.co.uk>
Subject RE: [T5] 5.0.17 URLEncoderImpl.decode error
Date Thu, 11 Dec 2008 19:37:31 GMT
I think the new URL encoding scheme should have some characters added to the safe list, including
@.

According to the BNF for URLs (http://www.w3.org/Addressing/URL/url-spec.html), the following
characters are perfectly valid for URLs:

$-_@.&+-!*"'(),

-_. are already in the safe list, and I'm proposing that the others from the 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 <leon.derks@cumquat.nl>
> 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


Mime
View raw message