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

Adds support for lists in scrubbing logic #442

Merged
merged 1 commit into from
Nov 24, 2020

Conversation

joladev
Copy link
Contributor

@joladev joladev commented Nov 22, 2020

The scrubbing logic in Sentry.PlugContext acts on keys, and so lists themselves are not a target for scrubbing. But lists can contain maps that need scrubbing. This adds support for lists in the scrubbing logic.

Copy link
Contributor

@mitchellhenke mitchellhenke left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is great, thank you!

lib/sentry/plug_context.ex Outdated Show resolved Hide resolved
The scrubbing logic acts on keys, and so lists themselves are not a target for scrubbing. But lists can contain maps that need scrubbing. This adds support for lists in the scrubbing logic.
@mitchellhenke mitchellhenke merged commit 5dc3c93 into getsentry:master Nov 24, 2020
@mitchellhenke
Copy link
Contributor

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

Successfully merging this pull request may close these issues.

2 participants