[jira] [Assigned] (OFBIZ-9310) On setting verbose true, UtilHttp.getParameterMap() method prints username and password in logs

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Assigned] (OFBIZ-9310) On setting verbose true, UtilHttp.getParameterMap() method prints username and password in logs

Nicolas Malin (Jira)

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

Jacques Le Roux reassigned OFBIZ-9310:
--------------------------------------

    Assignee: Jacques Le Roux  (was: Aditya Sharma)

> On setting verbose true, UtilHttp.getParameterMap() method prints username and password in logs
> -----------------------------------------------------------------------------------------------
>
>                 Key: OFBIZ-9310
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-9310
>             Project: OFBiz
>          Issue Type: Bug
>            Reporter: Aditya Sharma
>            Assignee: Jacques Le Roux
>         Attachments: OFBIZ-9310.patch
>
>
> In UtilHttp.getParameterMap(HttpServletRequest request, Set<? extends String> nameSet, Boolean onlyIncludeOrSkip) method, following line of code prints username and password in logs when verbose is set to true.
> if (Debug.verboseOn()) {
>             Debug.logVerbose("Made Request Parameter Map with [" + paramMap.size() + "] Entries", module);
>             Debug.logVerbose("Request Parameter Map Entries: " + System.getProperty("line.separator") + UtilMisc.printMap(paramMap), module);
>         }



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)