[riot-notifications] [RIOT-OS/RIOT] uri_parser: extend for parsing interfaces in IPv6 addresses (#15337)

Cenk Gündoğan notifications at github.com
Wed Nov 11 22:49:18 CET 2020


@cgundogan commented on this pull request.



> @@ -133,6 +133,25 @@ static char *_consume_authority(uri_parser_result_t *result, char *uri,
         if (ipv6_end >= authority_end) {
             return NULL;
         }
+
+        char *zoneid_start = _strchrb(result->host, uri_end, '%');

>char *zoneid_start = _strchrb(result->host, uri_end, '%');

did a fixup: replaced `uri_end` with `ipv6_end`. I also added your test vector to the unittests.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/15337#discussion_r521658980
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20201111/e2bea465/attachment.htm>


More information about the notifications mailing list