From e2f480197c922878c6f36732aff1adfc04ff5d68 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Mon, 19 Jan 2026 13:35:08 +0100 Subject: [PATCH] fixup using a disable protocol should not be accepted --- lib/url.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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