Just use URLDecoder if you need to decode parameters.

--
Samuel Santos
http://www.samaxes.com/


On Tue, Mar 31, 2009 at 3:17 PM, samyem <sam...@gmail.com> wrote:

>
> AK <ama-l...@...> writes:
>
> >
> > Héctor López <hector.lo...@...> writes:
> > > Link tag uses a java.net.URLEncoder, to encode the resulting URL.
> That's the
> > > class to blame for the plus signs. Whether that encoding should be used
> or
> > > not falls out of my scope, but I'm actually against using spaces in
> URLs...
> >
> > I think there's something in the RFC about special characters that can be
> used
> > in URLs, and I don't think space is one of them.  Let me look...
> >
> > ...here it is:
> >
> > URL Encoding
> > (or: 'What are those "%20" codes in URLs?')
> > http://www.blooberry.com/indexdot/html/topics/urlencoding.htm
> >
> >
> ------------------------------------------------------------------------------
> > _______________________________________________
> > Stripes-users mailing list
> > Stripes-users <at> lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/stripes-users
> >
>
> I think I was not clear in my first email. The param's value is a user
> supplied
> data - I do not expect the spaces to go into URL too. But I want it escaped
> properly. Is there any way to override the default behavior of using the
> URLEncoder and inject custom encoding if that's what it takes?
>
> Thank,
> Samyem
>
>
>
>
> ------------------------------------------------------------------------------
> _______________________________________________
> Stripes-users mailing list
> Stripes-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/stripes-users
>
------------------------------------------------------------------------------
_______________________________________________
Stripes-users mailing list
Stripes-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/stripes-users

Reply via email to