@bobfrankston/rmfmail 1.2.270 → 1.2.272
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/client/android-bootstrap.bundle.js +13 -2
- package/client/android-bootstrap.bundle.js.map +2 -2
- package/client/app.bundle.js +13 -2
- package/client/app.bundle.js.map +2 -2
- package/client/package.json +1 -1
- package/package.json +5 -5
- package/packages/mailx-imap/package-lock.json +2 -2
- package/packages/mailx-imap/package.json +1 -1
- package/packages/mailx-settings/package.json +1 -1
- package/packages/mailx-store/package.json +1 -1
- package/packages/mailx-store-web/package.json +1 -1
- package/packages/mailx-types/index.d.ts.map +1 -1
- package/packages/mailx-types/index.js +25 -2
- package/packages/mailx-types/index.js.map +1 -1
- package/packages/mailx-types/index.ts +21 -1
- package/packages/mailx-types/package.json +1 -1
- /package/packages/mailx-imap/{node_modules.npmglobalize-stash-18100 → node_modules.npmglobalize-stash-72180}/.package-lock.json +0 -0
|
@@ -2861,9 +2861,20 @@ function displayNameClaimsOtherAddress(name, address) {
|
|
|
2861
2861
|
const m = n.match(/[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\.[A-Za-z]{2,}/g);
|
|
2862
2862
|
if (!m)
|
|
2863
2863
|
return null;
|
|
2864
|
+
const realDomain = real.split("@").pop() || "";
|
|
2864
2865
|
for (const claimed of m) {
|
|
2865
|
-
if (claimed.toLowerCase()
|
|
2866
|
-
|
|
2866
|
+
if (claimed.toLowerCase() === real)
|
|
2867
|
+
continue;
|
|
2868
|
+
const claimedDomain = claimed.toLowerCase().split("@").pop() || "";
|
|
2869
|
+
if (claimedDomain && realDomain) {
|
|
2870
|
+
if (claimedDomain === realDomain)
|
|
2871
|
+
continue;
|
|
2872
|
+
if (claimedDomain.endsWith("." + realDomain))
|
|
2873
|
+
continue;
|
|
2874
|
+
if (realDomain.endsWith("." + claimedDomain))
|
|
2875
|
+
continue;
|
|
2876
|
+
}
|
|
2877
|
+
return claimed;
|
|
2867
2878
|
}
|
|
2868
2879
|
return null;
|
|
2869
2880
|
}
|