aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2014-03-31 09:35:32 +0200
committerDaniel Stenberg <daniel@haxx.se>2014-03-31 09:35:32 +0200
commit13682d1a24bba5386530805d8fbcf987b19c3552 (patch)
treed7b45de6d73f56f0150215a08849724879af4f90
parented4972ffdb11fc62a8bae33ff4eafbd73973ad9f (diff)
ipv6: strip off zone identifiers in redirects too
Follow up to 9317eced984 makes test 1056 work again.
-rw-r--r--lib/url.c2
1 files changed, 1 insertions, 1 deletions
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, '%');