]> granicus.if.org Git - curl/commit
urlapi: strip off scope id from numerical IPv6 addresses
authorDaniel Stenberg <daniel@haxx.se>
Tue, 30 Apr 2019 14:59:08 +0000 (16:59 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Fri, 3 May 2019 10:17:22 +0000 (12:17 +0200)
commitbdb2dbc1032e7ca33cfc161fd1d5bfbabdf65841
treed9e4788e86e610c1a841e91fa6fcc1b3179c3d1c
parent028126281901fb651819821f5c05caaf40976209
urlapi: strip off scope id from numerical IPv6 addresses

... to make the host name "usable". Store the scope id and put it back
when extracting a URL out of it.

Also makes curl_url_set() syntax check CURLUPART_HOST.

Fixes #3817
Closes #3822
docs/TODO
lib/urlapi.c
tests/data/test1560
tests/libtest/lib1560.c
tests/unit/unit1653.c