From f1b95ce0ff54d6a403ba07ad3dc899b638ffade2 Mon Sep 17 00:00:00 2001 From: jak1 Date: Sat, 18 Dec 2021 22:32:34 +0100 Subject: added ftp:// to url command also @@ftp:/foo.bar|baz@@ fixes #38 --- src/utils/browserboxtools.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/utils/browserboxtools.cpp') diff --git a/src/utils/browserboxtools.cpp b/src/utils/browserboxtools.cpp index 28339abb2..771b4e4e7 100644 --- a/src/utils/browserboxtools.cpp +++ b/src/utils/browserboxtools.cpp @@ -75,8 +75,8 @@ std::string BrowserBoxTools::replaceLinkCommands(const std::string &link) std::string data = link; - if (strStartWith(data, "http://") || - strStartWith(data, "https://")) + if (strStartWith(data, "http://") || strStartWith(data, "https://") || + strStartWith(data, "ftp://")) { return data; } -- cgit v1.2.3-70-g09d2