From 3206639778ed265ef42e72c6e89d4ccd43d486b5 Mon Sep 17 00:00:00 2001 From: AsamK Date: Sun, 19 Feb 2023 20:18:05 +0100 Subject: [PATCH] Scrub E164 in dbus path Related #1189 --- src/main/java/org/asamk/signal/logging/Scrubber.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/org/asamk/signal/logging/Scrubber.java b/src/main/java/org/asamk/signal/logging/Scrubber.java index efa196ce..2c60faa5 100644 --- a/src/main/java/org/asamk/signal/logging/Scrubber.java +++ b/src/main/java/org/asamk/signal/logging/Scrubber.java @@ -37,7 +37,7 @@ public final class Scrubber { * Supposedly, the shortest international phone numbers in use contain seven digits. * Handles URL encoded +, %2B */ - private static final Pattern E164_PATTERN = Pattern.compile("(\\+|%2B)(\\d{5,13})(\\d{2})"); + private static final Pattern E164_PATTERN = Pattern.compile("(\\+|%2B|/org/asamk/Signal/_)(\\d{5,13})(\\d{2})"); private static final String E164_CENSOR = "*************"; /**