You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by Tony Collen <co...@umn.edu> on 2003/09/19 23:21:14 UTC
Proxies & URL Encoding of Request Parameters
Referencing the following discussions:
http://marc.theaimsgroup.com/?l=xml-cocoon-users&m=106326623205960&w=2
http://marc.theaimsgroup.com/?l=xml-cocoon-users&m=106400306728111&w=2
It appears that the WSProxy (and possibly the HttpProxyGenerator) are getting decoded request
parameters (i.e. "johnny+depp" is received as "johnny depp"), and when the proxy sends the request
parameter back out, they are not being encoded. Can anybody confirm that this is happening?
I'm not sure at what level the request parameters are being decoded, but it seems that they should
be at least re-encoded before sending off to the remote server, that is, so "johnny depp" is
re-encoded to "johnny+depp" (or even better "johnny%20depp") and sent out to the remote server.
Any thoughts?
Tony