Skip to content

Improve query parameter obfuscation #2031

@nhmarujo

Description

@nhmarujo

I think it would be handy to make the obfuscation of query parameters a bit smarter, by not obfuscating the value if effectively it is "empty"

Detailed Description

Only obfuscate the query parameter if not null and the trim of the value is not empty.

Context

This can be handy on reasoning if a query parameter is actually being sent and avoid being mislead into thinking that seeing the XXX in there means that something was actually sent.

Possible Implementation

In here change the condition to if (paramValue == null || paramValue.trim().isEmpty())

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions