summaryrefslogtreecommitdiff
path: root/libproxy/modules/config_gnome3.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libproxy/modules/config_gnome3.cpp')
-rw-r--r--libproxy/modules/config_gnome3.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libproxy/modules/config_gnome3.cpp b/libproxy/modules/config_gnome3.cpp
index 00c0146..bc77350 100644
--- a/libproxy/modules/config_gnome3.cpp
+++ b/libproxy/modules/config_gnome3.cpp
@@ -225,7 +225,7 @@ public:
// In case nothing matched, try HTTP Connect and fallback to direct.
// If there is not secure HTTP proxy, this will only add direct:// to
// the response
- if (response.size() == 0) {
+ if (response.size() == 0 && dest.get_scheme() != "http") {
store_response("http", this->data[PROXY_SECURE_HOST],
this->data[PROXY_SECURE_PORT], auth, username, password, response);
response.push_back(url("direct://"));