We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Currently HttpClient logs the full request URL, including any senstive query parameters.
It be nice if we can specify the list of senstive query params, so they can be excluded in the logs:
07:22:11 INFO [app] Request: "GET https://httpstat.us/200?sensitive"
See also #50168
Using HTTPlug we achieved this by specifying the logger plugin before the query plugin:
It is important to note that the order of plugins matters. During the request, plugins are executed in the order they have been specified in the constructor, from first to last (https://docs.php-http.org/en/latest/plugins/introduction.html?highlight=order#how-it-works)
No response
The text was updated successfully, but these errors were encountered:
don't persist the http_client channel 🤷
http_client
Sorry, something went wrong.
No branches or pull requests
Description
Currently HttpClient logs the full request URL, including any senstive query parameters.
It be nice if we can specify the list of senstive query params, so they can be excluded in the logs:
See also #50168
Using HTTPlug we achieved this by specifying the logger plugin before the query plugin:
Example
No response
The text was updated successfully, but these errors were encountered: