mirror of
https://github.com/moparisthebest/curl
synced 2024-12-21 23:58:49 -05:00
ipv6: strip off zone identifiers in redirects too
Follow up to 9317eced98
makes test 1056 work again.
This commit is contained in:
parent
ed4972ffdb
commit
13682d1a24
@ -3951,7 +3951,7 @@ static CURLcode parseurlandfillconn(struct SessionHandle *data,
|
||||
if(result != CURLE_OK)
|
||||
return result;
|
||||
|
||||
if(conn->host.name[0] == '[' && !data->state.this_is_a_follow) {
|
||||
if(conn->host.name[0] == '[') {
|
||||
/* This looks like an IPv6 address literal. See if there is an address
|
||||
scope if there is no location header */
|
||||
char *percent = strchr(conn->host.name, '%');
|
||||
|
Loading…
Reference in New Issue
Block a user