Skip to content
Snippets Groups Projects
Commit 13682d1a authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

ipv6: strip off zone identifiers in redirects too

Follow up to 9317eced makes test 1056 work again.
parent ed4972ff
No related branches found
No related tags found
No related merge requests found
......@@ -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, '%');
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment