diff options
author | Conrad Pankoff <deoxxa@fknsrs.biz> | 2020-05-14 18:36:47 +1000 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-05-17 12:41:38 +0200 |
commit | 184ee8ac77457e7e5bae07a3cb48f872e2063871 (patch) | |
tree | 290ee57b1a27a16ef55efdd995680392c9776eb5 /Libraries/LibWeb | |
parent | aaa6f90c34dc93bdecfd6a20ed62b93aa2b42d9a (diff) | |
download | serenity-184ee8ac77457e7e5bae07a3cb48f872e2063871.zip |
LibWeb: Recognise and pass gemini URLs to ProtocolServer
Diffstat (limited to 'Libraries/LibWeb')
-rw-r--r-- | Libraries/LibWeb/ResourceLoader.cpp | 2 |
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) |