-
Notifications
You must be signed in to change notification settings - Fork 68
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
filter_chain: separate keys filters and execute them last
Fixes #158 (blacklist_keys does not remove sensitive information from post bodies) This ensures that blacklist/whitelist filters always execute last. Without this change blacklist/whitelist filtering is broken in `airbrake` v5.7.0. Since `8b8af2c77ea42b70b949e3b85df6cce3c977ee40` in `airbrake/airbrake` Rack filters are being added after blacklist/whitelist filters, which means Rack requests are never filtered. In general, this change makes sure we blacklist/whitelist after all permutations on a notice are done.
- Loading branch information
Showing
4 changed files
with
31 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters