You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@commons.apache.org by Jim the Standing Bear <st...@gmail.com> on 2008/05/07 20:27:29 UTC
a question about URL encoding
Hello,
I read somewhere that the URL Encoding of the space character can be
either %20 or +. The behavior of the URLEncoders from both
commons-codec and jdk converts spaces to +. Is there anyway to force
the URLEncoder to convert spaces to %20 instead? Thanks.
- Jim
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
For additional commands, e-mail: user-help@commons.apache.org
Re: a question about URL encoding
Posted by Jim the Standing Bear <st...@gmail.com>.
Thanks Jörg. It is indeed an excellent summary of the situation.
- Jim
On Thu, May 8, 2008 at 1:53 AM, Jörg Schaible
<Jo...@elsag-solutions.com> wrote:
> Hi Jim,
>
>
>
> Jim the Standing Bear wrote:
> > Hello,
> >
> > I read somewhere that the URL Encoding of the space character can be
> > either %20 or +. The behavior of the URLEncoders from both
> > commons-codec and jdk converts spaces to +. Is there anyway to force
> > the URLEncoder to convert spaces to %20 instead? Thanks.
>
> Benjamin Bentman created a quite valuable summary of the situation for the Maven devs: http://thread.gmane.org/gmane.comp.jakarta.turbine.maven.devel/83251/focus=85098
>
> - Jörg
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
> For additional commands, e-mail: user-help@commons.apache.org
>
>
--
--------------------------------------
Standing Bear Has Spoken
--------------------------------------
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
For additional commands, e-mail: user-help@commons.apache.org
RE: a question about URL encoding
Posted by Jörg Schaible <Jo...@Elsag-Solutions.com>.
Hi Jim,
Jim the Standing Bear wrote:
> Hello,
>
> I read somewhere that the URL Encoding of the space character can be
> either %20 or +. The behavior of the URLEncoders from both
> commons-codec and jdk converts spaces to +. Is there anyway to force
> the URLEncoder to convert spaces to %20 instead? Thanks.
Benjamin Bentman created a quite valuable summary of the situation for the Maven devs: http://thread.gmane.org/gmane.comp.jakarta.turbine.maven.devel/83251/focus=85098
- Jörg
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
For additional commands, e-mail: user-help@commons.apache.org