Rodney Schneider <[EMAIL PROTECTED]> writes:

> Have you tried encoding the slashes in your QUERY_DATA arguments?  If this 
> doesn't work, you will have to replace them with another character, and do a 
> "find and replace" on the server.  Alternatively, you could write your own 
> ParameterParser that leaves PATH_INFO intact.  Then you would have to use 
> QUERY_DATA or POST for all the request parameters in your Turbine app.

I had encoded the URL with URLEndcoder.encode() when I was using
PATH_INFO, but Turbine still saw the slashes, and therefore split
variables and values on those internal slashes.  I used your
QUERY_DATA suggestion, still with the URLEncoded URL to be safe, and
it works great.  Now full URLs look like:

http://palimpsest:8080/sna/servlet/Turbine/action/Proxy?url=http%3A%2F%2Fexample.com%2index.html

and the ParameterParser sees variable name "url" with the right value,
automatically URL-decoding it.

Many thanks.

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to