dev@jersey.java.net

Re: percent escapes in URI templates

From: Julian Reschke <julian.reschke_at_gmx.de>
Date: Wed, 20 Jun 2007 20:20:05 +0200

Paul Sandoz wrote:
> Definitely, i am preparing a fix that i will commit tomorrow.
>
> I wonder if we should allow for a template "/helloworld/x y" which is
> equivalent to "/helloworld/x%20y". I will punt the question to the 311
> list.

Hm, not sure what you mean here. Is this about an unescaped space
character appearing in the path? It shouldn't (and my preference would
be that the container rejects requests like that with a status of 400).

A related question is whether the framework is supposed to do something
with percent-escaped non-ASCII characters. That would have the beauty
that there's one thing less people can do wrong...

Best regards, Julian