Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(pii): Fix scrubbing user paths in minidump debug modules (#4351)
#2724 silently broke user path scrubbing in minidumps. The regression was not automatically flagged because minidump scrubbing [ignores regexes that cannot be compiled with unicode disabled](https://github.com/getsentry/relay/blob/63ca425f5eba144cd5b8976b4201cd61084dafb9/relay-pii/src/attachments.rs#L37-L41), regardless of whether they are user-defined regexes or builtin static ones. This PR both fixes the regex and adds an automatic test to each PII regex, so we can catch similar problems in the future.
- Loading branch information