aboutsummaryrefslogtreecommitdiff
path: root/src/webclient.cpp
diff options
context:
space:
mode:
authorFelix (xq) Queißner <git@mq32.de>2020-06-08 00:30:32 +0200
committerFelix (xq) Queißner <git@mq32.de>2020-06-08 00:30:32 +0200
commitf02ccb928fd4ed591d2efe118a571e154f5df68a (patch)
tree2fc7c4037423d074c410f4c53714ddc842d33351 /src/webclient.cpp
parent425f9d41cd337133d5677744eef937a8a2a61212 (diff)
downloadkristall-f02ccb928fd4ed591d2efe118a571e154f5df68a.tar.gz
Starts to implement gopher protocol and gophermap support. Heavily WIP, but you can already surf on gopherspace!
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;