Skip to content
New issue

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

Sanitize params when using plugin error_mail #346

Closed
gettalong opened this issue Jan 4, 2024 · 2 comments
Closed

Sanitize params when using plugin error_mail #346

gettalong opened this issue Jan 4, 2024 · 2 comments

Comments

@gettalong
Copy link

I'd like to use the error_mail plugin and I see that it includes the parameters of the request. This is usually fine but can become problematic if the params contain passwords.

What is the preferred way to sanitize the params? Just doing it myself and deleting the problematic entries from params?

@jeremyevans
Copy link
Owner

I think it would be best to build this into the plugin as an option. We'd want to handle the environment and session values as well, since they could potentially also need sanitization. I'll work on that before the next release.

@gettalong
Copy link
Author

This works great, thank you!

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

No branches or pull requests

2 participants