From 13682d1a24bba5386530805d8fbcf987b19c3552 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Mon, 31 Mar 2014 09:35:32 +0200 Subject: ipv6: strip off zone identifiers in redirects too Follow up to 9317eced984 makes test 1056 work again. --- lib/url.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/url.c b/lib/url.c index 40751cc56..ebd38ccee 100644 --- a/lib/url.c +++ b/lib/url.c @@ -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, '%'); -- cgit v1.2.3