If I remember correctly, "+" mapping to " " is only done in the Query String
of a URL. That is, anything after a "?" indicating the Query String. I do not
think that this is done in the non-Query String part of the URL. Thus, I think
you need to encode your spaces with '%20'.
tim.

> Hi,
> 
> I've found an issue with, what I suspect is, the URL decode of pathInfo in
> Orion 1.3.8.
> 
> The following URL is used:
> http://www.myserver.com/data/1+2 3.doc
> 
> I use java.net.URLEncoder.encode to get:
> http://www.myserver.com/data/1%2B2+3.doc
> 
> Inside the servlet hidden mapped behind '/data' the following code exists:
> System.out.println(request.getPathInfo());
> 
> Which prints out:
> .../1+2+3.doc
> 
> What I wanted was:
> .../1+2 3.doc
> 
> Why does Orion not URL decode the '+'-sign to a space?


Reply via email to