Merge branch 'release/v1.2.1'
This commit is contained in:
@@ -317,6 +317,7 @@ var MattermostView = React.createClass({
|
||||
var currentURL = url.parse(webview.getURL());
|
||||
var destURL = url.parse(e.url);
|
||||
if (destURL.protocol !== 'http:' && destURL.protocol !== 'https:') {
|
||||
ipcRenderer.send('confirm-protocol', destURL.protocol, e.url);
|
||||
return;
|
||||
}
|
||||
if (currentURL.host === destURL.host) {
|
||||
|
Reference in New Issue
Block a user