Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-15-SP5:GA
curl.12449
curl-disabled-redirect-protocol-message.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File curl-disabled-redirect-protocol-message.patch of Package curl.12449
--- a/lib/url.c +++ a/lib/url.c @@ -1955,9 +1955,13 @@ static CURLcode findprotocol(struct Curl_easy *data, /* it is allowed for "normal" request, now do an extra check if this is the result of a redirect */ if(data->state.this_is_a_follow && - !(data->set.redir_protocols & p->protocol)) + !(data->set.redir_protocols & p->protocol)) { /* nope, get out */ - break; + failf(data, "Redirect to protocol \"%s\" not supported or disabled in " LIBCURL_NAME, + protostr); + + return CURLE_UNSUPPORTED_PROTOCOL; + } /* Perform setup complement if some. */ conn->handler = conn->given = p;
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor