summaryrefslogtreecommitdiff
path: root/src/utils/browserboxtools.cpp
diff options
context:
space:
mode:
authorjak1 <mike.wollmann@gmail.com>2021-12-18 22:32:34 +0100
committerjak1 <mike.wollmann@gmail.com>2021-12-18 22:32:34 +0100
commitf1b95ce0ff54d6a403ba07ad3dc899b638ffade2 (patch)
tree0e7e6f318ad7abc6d11b4c53c8ebc71c660c2692 /src/utils/browserboxtools.cpp
parentbecb122a45942224e597fab88f40d5811e9c825c (diff)
downloadplus-f1b95ce0ff54d6a403ba07ad3dc899b638ffade2.tar.gz
plus-f1b95ce0ff54d6a403ba07ad3dc899b638ffade2.tar.bz2
plus-f1b95ce0ff54d6a403ba07ad3dc899b638ffade2.tar.xz
plus-f1b95ce0ff54d6a403ba07ad3dc899b638ffade2.zip
added ftp:// to url command also @@ftp:/foo.bar|baz@@ fixes #38
Diffstat (limited to 'src/utils/browserboxtools.cpp')
-rw-r--r--src/utils/browserboxtools.cpp4
1 files changed, 2 insertions, 2 deletions
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;
}