diff --git a/ui/views/App/Settings/SettingsAdvanced.js b/ui/views/App/Settings/SettingsAdvanced.js index dd6caa745..f199d9a77 100644 --- a/ui/views/App/Settings/SettingsAdvanced.js +++ b/ui/views/App/Settings/SettingsAdvanced.js @@ -19,7 +19,7 @@ function cleanLogs () { } function handleLogsUploaded (url) { - if (url.length) { + if (url.length && Utils.startsWith(url, 'http')) { sendLogsBlock.stop('') Qt.openUrlExternally( 'mailto:' + encodeURIComponent(Linphone.SettingsModel.logsEmail) +