Skip to content

Commit

Permalink
Add more env variables to filter (#197)
Browse files Browse the repository at this point in the history
  • Loading branch information
anfedotoff authored Feb 2, 2024
1 parent 76f162e commit b64a7f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libcasr/src/report.rs
Original file line number Diff line number Diff line change
Expand Up @@ -317,7 +317,7 @@ impl CrashReport {
"^CI=|^HOSTNAME=|^LOGNAME=|^USERNAME=|^LANG=|^SESSION_MANAGER=|",
"^XAUTHORITY=|^CI_|^GITLAB_|^FF_|^LC_|^SSH_|^XDG_|^GTK_|^GIO_|",
"^DESKTOP_|^DBUS_|^GNOME_|^TERMINATOR_|^GPG_|^LS_COLORS=|",
"^LESSCLOSE=|^LESSOPEN=",
"^LESSCLOSE=|^LESSOPEN=|KEY|PASSWORD|TOKEN",
))
.unwrap();
self.proc_environ.retain(|e| !sensitive.is_match(e));
Expand Down

0 comments on commit b64a7f4

Please sign in to comment.