aboutsummaryrefslogtreecommitdiff
path: root/src/webclient.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/webclient.cpp')
-rw-r--r--src/webclient.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/webclient.cpp b/src/webclient.cpp
index 6e9b5ab..f3d8daa 100644
--- a/src/webclient.cpp
+++ b/src/webclient.cpp
@@ -17,6 +17,9 @@ WebClient::~WebClient()
bool WebClient::startRequest(const QUrl &url)
{
+ if(url.scheme() != "http" and url.scheme() != "https")
+ return false;
+
if(this->current_reply != nullptr)
return true;