From 90963e8381d0e7193607f8471e61e68d79fc88e2 Mon Sep 17 00:00:00 2001 From: Devin Binnie <52460000+devinbinnie@users.noreply.github.com> Date: Thu, 14 Nov 2019 04:48:15 -0500 Subject: [PATCH] Fixed email links being rejected by will-navigate (#1093) --- src/main.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/main.js b/src/main.js index 0af0d8ab..08e0a9e0 100644 --- a/src/main.js +++ b/src/main.js @@ -389,6 +389,9 @@ function handleAppWebContentsCreated(dc, contents) { if (isTrustedURL(parsedURL) || isTrustedPopupWindow(event.sender)) { return; } + if (parsedURL.protocol === 'mailto:') { + return; + } if (customLogins[contentID].inProgress) { return; }