Skip to content

Remove authorisation token from toString representation#76

Open
sayembd wants to merge 1 commit intojesperfj:masterfrom
sayembd:hide-authorisation-token
Open

Remove authorisation token from toString representation#76
sayembd wants to merge 1 commit intojesperfj:masterfrom
sayembd:hide-authorisation-token

Conversation

@sayembd
Copy link
Copy Markdown

@sayembd sayembd commented Dec 7, 2018

HttpRequest's toString representation should not contain the authorisation token, because then it will be leaked when the request is logged.

This is currently the case - HttpResponse.send method logs the HttpRequest whenever it receives a bad response code from SalesForce, leaking the authorisation code in the log.

HttpRequest's toString representation should not contain the
authorisation token, because then it will be leaked when the request is
logged.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant