diff options
author | Daniel Stenberg <daniel@haxx.se> | 2014-03-31 09:35:32 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2014-03-31 09:35:32 +0200 |
commit | 13682d1a24bba5386530805d8fbcf987b19c3552 (patch) | |
tree | d7b45de6d73f56f0150215a08849724879af4f90 | |
parent | ed4972ffdb11fc62a8bae33ff4eafbd73973ad9f (diff) |
ipv6: strip off zone identifiers in redirects too
Follow up to 9317eced984 makes test 1056 work again.
-rw-r--r-- | lib/url.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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, '%'); |