Clone
Michael Brohl <michael.brohl@ecomify.de>
committed
on 30 Jan
Extend UtilHttp.urlEncodeArgs API with preserveEmpty-parameter (OFBIZ-10198)
This patch extends the current UtilHttp.urlEncodeArgs() method … Show more
Extend UtilHttp.urlEncodeArgs API with preserveEmpty-parameter (OFBIZ-10198)

This patch extends the current UtilHttp.urlEncodeArgs() method with an

additional input parameter: boolean preserveEmpty.

It allows to get a query string with empty parameters, useful if the

receiver expects mandatory parameters or wants to explicit

override/clear existing values with an empty one.

Thanks Martin Becker for reporting and providing the patch. Show less