summaryrefslogtreecommitdiff
path: root/Libraries/LibWeb
diff options
context:
space:
mode:
authorConrad Pankoff <deoxxa@fknsrs.biz>2020-05-14 18:36:47 +1000
committerAndreas Kling <kling@serenityos.org>2020-05-17 12:41:38 +0200
commit184ee8ac77457e7e5bae07a3cb48f872e2063871 (patch)
tree290ee57b1a27a16ef55efdd995680392c9776eb5 /Libraries/LibWeb
parentaaa6f90c34dc93bdecfd6a20ed62b93aa2b42d9a (diff)
downloadserenity-184ee8ac77457e7e5bae07a3cb48f872e2063871.zip
LibWeb: Recognise and pass gemini URLs to ProtocolServer
Diffstat (limited to 'Libraries/LibWeb')
-rw-r--r--Libraries/LibWeb/ResourceLoader.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Libraries/LibWeb/ResourceLoader.cpp b/Libraries/LibWeb/ResourceLoader.cpp
index bbaa45fa62..ce047b7e18 100644
--- a/Libraries/LibWeb/ResourceLoader.cpp
+++ b/Libraries/LibWeb/ResourceLoader.cpp
@@ -113,7 +113,7 @@ void ResourceLoader::load(const URL& url, Function<void(const ByteBuffer&, const
return;
}
- if (url.protocol() == "http" || url.protocol() == "https") {
+ if (url.protocol() == "http" || url.protocol() == "https" || url.protocol() == "gemini") {
auto download = protocol_client().start_download(url.to_string());
if (!download) {
if (error_callback)