Commit a4482b21 authored by Daniel Gustafsson's avatar Daniel Gustafsson
Browse files

urlapi: fix parsing ipv6 with zone index



The previous fix for parsing IPv6 URLs with a zone index was a paddle
short for URLs without an explicit port. This patch fixes that case
and adds a unit test case.

This bug was highlighted by issue #3408, and while it's not the full
fix for the problem there it is an isolated bug that should be fixed
regardless.

Closes #3411
Reported-by: GitYuanQu on github
Reviewed-by: default avatarDaniel Stenberg <daniel@haxx.se>
parent 2a8801d7
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment