Skip to content

Conversation

@codekitchen
Copy link
Contributor

This allows for still using SanitizeData, while disabling this specific value
sanitizer, which is broad enough to capture any other 13-16 digit numbers as well.

As discussed in https://github.com/getsentry/raven-ruby/issues/328

Overall I kinda liked my second suggestion better, splitting the credit card sanitizer into a separate processor, but decided against it for backwards compatibility reasons. It'd be sad if people suddenly lost that sanitization because they were doing something like

config.processors = [Raven::Processor::SanitizeData, MyCustomProcessor]

This allows for still using SanitizeData, while disabling this specific value
sanitizer, which is broad enough to capture any other 13-16 digit numbers as well.
@nateberkopec
Copy link
Contributor

It'd be sad if people suddenly lost that sanitization because they were doing something like

Great point!

nateberkopec added a commit that referenced this pull request May 7, 2015
config to allow disabling credit card number sanitization
@nateberkopec nateberkopec merged commit 001eaf6 into getsentry:master May 7, 2015
@codekitchen codekitchen deleted the sanitize-data-config branch May 7, 2015 18:50
@codekitchen
Copy link
Contributor Author

thanks for the snappy response!

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