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

Make scrubbing length configurable #325

Merged
merged 2 commits into from
Oct 21, 2015
Merged

Conversation

jondeandres
Copy link
Contributor

Rollbar.configuration.randomize_scrub_length = false will make us
using '*' * value.length as scrubbing value.

When randomize_scrub_length option is true, by default, we use a
random string between 3 and 8 chars.

Note: randomize code is duplicated in URL scrubber and the request extractor module. Once we refactor that module we can unify that logic.

`Rollbar.configuration.randomize_scrub_length = false` will make us
using `'*' * value.length` as scrubbing value.

When `randomize_scrub_length` option is true, by default, we use a
random string between 3 and 8 chars.
@jondeandres jondeandres force-pushed the scrubbing-length-behavior branch from 1f23832 to 638e97c Compare October 20, 2015 22:15
@coryvirok
Copy link
Contributor

👍

@jondeandres jondeandres force-pushed the scrubbing-length-behavior branch 2 times, most recently from 8466705 to 638e97c Compare October 21, 2015 01:11
jondeandres added a commit that referenced this pull request Oct 21, 2015
@jondeandres jondeandres merged commit 680e03e into master Oct 21, 2015
@jondeandres jondeandres deleted the scrubbing-length-behavior branch October 21, 2015 17:53
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