mirror of
https://github.com/curl/curl.git
synced 2025-09-29 07:26:48 +03:00
Remove url.c test
This commit is contained in:
parent
795107453d
commit
65629f2915
|
@ -3487,11 +3487,8 @@ static CURLcode findprotocol(struct SessionHandle *data,
|
||||||
if(Curl_raw_equal(p->scheme, protostr)) {
|
if(Curl_raw_equal(p->scheme, protostr)) {
|
||||||
/* Protocol found in table. Check if allowed */
|
/* Protocol found in table. Check if allowed */
|
||||||
if(!(data->set.allowed_protocols & p->protocol))
|
if(!(data->set.allowed_protocols & p->protocol))
|
||||||
{
|
|
||||||
/* nope, get out */
|
/* nope, get out */
|
||||||
fprintf(stderr, "well, shit\n");
|
|
||||||
break;
|
break;
|
||||||
}
|
|
||||||
|
|
||||||
/* it is allowed for "normal" request, now do an extra check if this is
|
/* it is allowed for "normal" request, now do an extra check if this is
|
||||||
the result of a redirect */
|
the result of a redirect */
|
||||||
|
|
Loading…
Reference in New Issue
Block a user