diff options
author | Daniel Gustafsson <daniel@yesql.se> | 2018-12-11 15:02:19 +0100 |
---|---|---|
committer | Daniel Gustafsson <daniel@yesql.se> | 2018-12-11 15:02:19 +0100 |
commit | 63533cbde279ce91ed9e9c92d47b6297235d1d02 (patch) | |
tree | 5212a395bb3649fb24535c4eff2abd6c0305a4ed /docs/examples/pop3-uidl.c | |
parent | 552f0205e6901889a965fe679f4afeeeed7f4955 (diff) |
urlapi: fix portnumber parsing for ipv6 zone index
An IPv6 URL which contains a zone index includes a '%%25<zode id>'
string before the ending ']' bracket. The parsing logic wasn't set
up to cope with the zone index however, resulting in a malformed url
error being returned. Fix by breaking the parsing into two stages
to correctly handle the zone index.
Closes #3355
Closes #3319
Reported-by: tonystz on Github
Reviewed-by: Daniel Stenberg <daniel@haxx.se>
Reviewed-by: Marcel Raad <Marcel.Raad@teamviewer.com>
Diffstat (limited to 'docs/examples/pop3-uidl.c')
0 files changed, 0 insertions, 0 deletions