projects
/
platform
/
upstream
/
curl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ed4972f
)
ipv6: strip off zone identifiers in redirects too
author
Daniel Stenberg
<daniel@haxx.se>
Mon, 31 Mar 2014 07:35:32 +0000
(09:35 +0200)
committer
Daniel Stenberg
<daniel@haxx.se>
Mon, 31 Mar 2014 07:35:32 +0000
(09:35 +0200)
Follow up to
9317eced984
makes test 1056 work again.
lib/url.c
patch
|
blob
|
history
diff --git
a/lib/url.c
b/lib/url.c
index
40751cc
..
ebd38cc
100644
(file)
--- 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, '%');