mirror of
https://github.com/curl/curl.git
synced 2026-05-02 12:08:14 +03:00
fixup using a disable protocol should not be accepted
This commit is contained in:
parent
8c4aa33404
commit
e2f480197c
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue