From d13cda4e65fd0e672b41a4f02e87d8efcd198dcb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Marjam=C3=A4ki?= Date: Sun, 26 Apr 2026 21:09:17 +0200 Subject: [PATCH] Fix #14695 (triage: handle https urls also) --- tools/triage/mainwindow.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/triage/mainwindow.cpp b/tools/triage/mainwindow.cpp index 564d6e1bcf2..c8989601efd 100644 --- a/tools/triage/mainwindow.cpp +++ b/tools/triage/mainwindow.cpp @@ -137,7 +137,7 @@ void MainWindow::load(QTextStream &textStream) QString line = textStream.readLine(); if (line.isNull()) break; - if (line.startsWith("ftp://") || (line.startsWith(DACA2_PACKAGES) && line.endsWith(".tar.xz"))) { + if (line.startsWith("ftp://") || line.startsWith("https://") || (line.startsWith(DACA2_PACKAGES) && line.endsWith(".tar.xz"))) { local = line.startsWith(DACA2_PACKAGES) && line.endsWith(".tar.xz"); url = line; if (!errorMessage.isEmpty()) @@ -293,7 +293,7 @@ void MainWindow::showResult(QListWidgetItem *item) { ui->statusBar->clearMessage(); const bool local = item->text().startsWith(DACA2_PACKAGES); - if (!item->text().startsWith("ftp://") && !local) + if (!item->text().startsWith("ftp://") && !item->text().startsWith("https://") && !local) return; const QStringList lines = item->text().split("\n"); if (lines.size() < 2)