You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ofbiz.apache.org by "Martin Becker (JIRA)" <ji...@apache.org> on 2018/02/04 14:06:00 UTC

[jira] [Updated] (OFBIZ-10198) Extended UtilHttp.urlEncodeArgs API with preserveEmpty-parameter to be able to get a query string with empty parameters

     [ https://issues.apache.org/jira/browse/OFBIZ-10198?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Martin Becker updated OFBIZ-10198:
----------------------------------
    Attachment: OFBIZ-10198_UtilHttp_extension.patch

> Extended UtilHttp.urlEncodeArgs API with preserveEmpty-parameter to be able to get a query string with empty parameters
> -----------------------------------------------------------------------------------------------------------------------
>
>                 Key: OFBIZ-10198
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-10198
>             Project: OFBiz
>          Issue Type: Improvement
>          Components: framework
>    Affects Versions: Upcoming Branch
>            Reporter: Martin Becker
>            Priority: Trivial
>         Attachments: OFBIZ-10198_UtilHttp_extension.patch
>
>
> 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. 
> For the patch, the urlEncodeArgs() method has been overloaded with another method so that the patch wont affect any already present method calls.
> Also corrected typos.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)