joakim verona wrote:
Hello list,

This is a patched version of RawRequestParameterModule so that it returns URLencoded request parameters.

The docs say that whats this module is supposed to do, and I'm shure it did/does in some circumstances.

I'm trying to do a proper patch entry in bugzilla to, but I thought the patch might be discussed here first.

* RawRequestParameterModule accesses request parameters without * decoding or casting. It uses the get() method instead of the getParameter()

return java.net.URLEncoder.encode((String)obj);

Doing the cast contradicts the comment and breaks the use for uploads. You need to check for an instance of String first and re-encode it only if it is a String IIUC.


Chris.

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



Reply via email to