-
Notifications
You must be signed in to change notification settings - Fork 274
Improve query parameter obfuscation #2031
Copy link
Copy link
Open
Labels
Description
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())
Reactions are currently unavailable