diff --git a/lib/url.c b/lib/url.c index 0907faa469..227bf53d15 100644 --- a/lib/url.c +++ b/lib/url.c @@ -1481,7 +1481,7 @@ static CURLcode findprotocol(struct Curl_easy *data, { const struct Curl_scheme *p = Curl_get_scheme(protostr); - if(p && /* Protocol found in table. Check if allowed */ + if(p && p->run && /* Protocol found spported. Check if allowed */ (data->set.allowed_protocols & p->protocol)) { /* it is allowed for "normal" request, now do an extra check if this is