diff options
| author | thegeorg <[email protected]> | 2022-04-20 17:40:08 +0300 |
|---|---|---|
| committer | thegeorg <[email protected]> | 2022-04-20 17:40:08 +0300 |
| commit | 31ff69685d432e9506ba2cad2e4cb05528021282 (patch) | |
| tree | 70ed539fcc48dd4d1981fd4785797a11cd7e4006 /contrib/libs/curl/lib/transfer.c | |
| parent | 9abb1ba6ed6c2852738c0f69367b9c0bff668676 (diff) | |
Update contrib/libs/curl to 7.81.0
ref:47b24ca6f73cd31c101d7e08fb558fb7ddd6b54f
Diffstat (limited to 'contrib/libs/curl/lib/transfer.c')
| -rw-r--r-- | contrib/libs/curl/lib/transfer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/libs/curl/lib/transfer.c b/contrib/libs/curl/lib/transfer.c index 05fec7998ce..22704fa1583 100644 --- a/contrib/libs/curl/lib/transfer.c +++ b/contrib/libs/curl/lib/transfer.c @@ -1631,7 +1631,7 @@ CURLcode Curl_follow(struct Curl_easy *data, if((type != FOLLOW_RETRY) && (data->req.httpcode != 401) && (data->req.httpcode != 407) && - Curl_is_absolute_url(newurl, NULL, MAX_SCHEME_LEN)) + Curl_is_absolute_url(newurl, NULL, 0)) /* If this is not redirect due to a 401 or 407 response and an absolute URL: don't allow a custom port number */ disallowport = TRUE; |
