Commit 8f0eafd4 authored by Ronan Abhamon's avatar Ronan Abhamon

fix(SettingsAdvanced): test url string on logs uploaded

parent a68e949b
...@@ -19,7 +19,7 @@ function cleanLogs () { ...@@ -19,7 +19,7 @@ function cleanLogs () {
} }
function handleLogsUploaded (url) { function handleLogsUploaded (url) {
if (url.length) { if (url.length && Utils.startsWith(url, 'http')) {
sendLogsBlock.stop('') sendLogsBlock.stop('')
Qt.openUrlExternally( Qt.openUrlExternally(
'mailto:' + encodeURIComponent(Linphone.SettingsModel.logsEmail) + 'mailto:' + encodeURIComponent(Linphone.SettingsModel.logsEmail) +
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment