Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6a76b073 authored by Bernhard Redl's avatar Bernhard Redl
Browse files

Improve handling of From: Headers without parseable email addresses (fixes 3814)

parent c8974363
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -149,6 +149,8 @@ public class Address {
            }
        } catch (MimeException pe) {
            Log.e(K9.LOG_TAG, "MimeException in Address.parse()", pe);
            //but we do an silent failover : we just use the given string as name with empty address
            addresses.add(new Address("", addressList));
        }
        return addresses.toArray(EMPTY_ADDRESS_ARRAY);
    }