Lasse R.H. Nielsen
b2f0b8d083
Accept IPvFuture syntax in Uri.
...
The RFC 3986 grammar for `[...]` addresses accepts
IPv6 addresses and IPvFuture addresses, where the latter
have the form `'v' <hexDigit>+ '.' (<unreserved>|<sub-delim>|':')+`.
This allows the IPvFuture syntax, with no interpretation,
as the `host` of a `Uri`.
For now, the `Uri(host: ...)` constructor argument only allows
IPvFuture addresses that are already wrapped in `[...]` brackets,
and the `Uri.host` gette returns IPvFuture addresses including
brackets.
The `Uri(host:...)` still allows unbracketed IPv6 addresses
(distinguished from plain host-names by containing a `:`),
and `Uri.host` returns IPv6 addresses without brackets.
`Uri.parse` only accept IPv6 and IPvFuture in brackets.
(Only IPv6 can have a zone.)
Fixes #60483 .
CoreLibraryReviewExempt: Local implementation only, no API.
Bug: https://dartbug.com/60483
Change-Id: Id369ba1316b34f443edfe5b0f56864c32beddccc
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/421081
Reviewed-by: Nate Bosch <nbosch@google.com >
Commit-Queue: Lasse Nielsen <lrn@google.com >
2025-04-09 03:56:37 -07:00
..
2024-11-14 13:04:51 +00:00
2024-11-14 13:04:51 +00:00
2024-11-14 13:04:51 +00:00
2024-11-14 13:04:51 +00:00
2024-11-14 13:04:51 +00:00
2024-11-14 13:04:51 +00:00
2024-11-14 13:04:51 +00:00
2023-09-11 21:05:38 +00:00
2022-10-10 21:04:18 +00:00
2024-11-14 13:04:51 +00:00
2024-11-14 13:04:51 +00:00
2024-11-14 13:04:51 +00:00
2024-11-14 13:04:51 +00:00
2024-11-14 13:04:51 +00:00
2024-11-14 13:04:51 +00:00
2024-11-14 13:04:51 +00:00
2024-11-14 13:04:51 +00:00
2024-03-16 12:56:21 +00:00
2024-03-16 12:56:21 +00:00
2024-11-14 13:04:51 +00:00
2022-11-04 16:10:39 +00:00
2024-11-14 13:04:51 +00:00
2023-03-09 15:14:32 +00:00
2023-03-09 15:14:32 +00:00
2024-11-14 13:04:51 +00:00
2024-11-14 13:04:51 +00:00
2024-11-14 13:04:51 +00:00
2024-11-14 13:04:51 +00:00
2024-11-14 13:04:51 +00:00
2022-12-19 12:56:47 +00:00
2024-11-14 13:04:51 +00:00
2024-11-14 13:04:51 +00:00
2024-11-14 13:04:51 +00:00
2024-11-14 13:04:51 +00:00
2024-11-14 13:04:51 +00:00
2024-11-14 13:04:51 +00:00
2024-11-14 13:04:51 +00:00
2025-03-18 15:57:16 -07:00
2024-11-14 13:04:51 +00:00
2024-06-07 17:58:32 +00:00
2024-03-19 12:30:56 +00:00
2024-11-14 13:04:51 +00:00
2022-10-20 10:50:25 +00:00
2025-02-21 02:45:16 -08:00
2024-11-14 13:04:51 +00:00
2020-09-26 01:11:54 +00:00
2024-11-14 13:04:51 +00:00
2024-11-14 13:04:51 +00:00
2024-02-08 17:00:59 +00:00
2024-11-14 13:04:51 +00:00
2024-02-08 17:00:59 +00:00
2024-11-14 13:04:51 +00:00
2022-12-08 23:29:14 +00:00
2024-11-14 13:04:51 +00:00
2024-02-08 17:00:59 +00:00
2024-11-14 13:04:51 +00:00
2024-02-08 17:00:59 +00:00
2024-11-14 13:04:51 +00:00
2024-11-14 13:04:51 +00:00
2024-11-14 13:04:51 +00:00
2024-06-06 10:56:12 +00:00
2024-11-14 13:04:51 +00:00
2024-11-14 13:04:51 +00:00
2024-11-14 13:04:51 +00:00
2024-11-14 13:04:51 +00:00
2024-11-14 13:04:51 +00:00
2024-11-14 13:04:51 +00:00
2024-10-11 16:53:52 +00:00
2024-11-14 13:04:51 +00:00
2024-11-14 13:04:51 +00:00
2024-11-14 13:04:51 +00:00
2024-11-14 13:04:51 +00:00
2024-11-14 13:04:51 +00:00
2024-11-14 13:04:51 +00:00
2024-11-14 13:04:51 +00:00
2024-11-14 13:04:51 +00:00
2024-11-14 13:04:51 +00:00
2024-11-14 13:04:51 +00:00
2024-11-14 13:04:51 +00:00
2024-11-14 13:04:51 +00:00
2024-11-14 13:04:51 +00:00
2024-11-14 13:04:51 +00:00
2024-11-14 13:04:51 +00:00
2024-11-14 13:04:51 +00:00
2024-11-14 13:04:51 +00:00
2024-11-14 13:04:51 +00:00
2024-11-14 13:04:51 +00:00
2024-11-19 11:14:40 +00:00
2024-02-08 17:00:59 +00:00
2024-11-14 13:04:51 +00:00
2024-11-14 13:04:51 +00:00
2024-11-14 13:04:51 +00:00
2022-05-24 13:54:23 +00:00
2024-11-14 13:04:51 +00:00
2024-11-14 13:04:51 +00:00
2024-11-14 13:04:51 +00:00
2024-11-14 13:04:51 +00:00
2024-11-14 13:04:51 +00:00
2024-11-14 13:04:51 +00:00
2024-11-14 13:04:51 +00:00
2024-11-14 13:04:51 +00:00
2024-11-14 13:04:51 +00:00
2024-11-14 13:04:51 +00:00
2024-11-19 11:14:40 +00:00
2024-11-14 13:04:51 +00:00
2024-11-14 13:04:51 +00:00
2024-11-14 13:04:51 +00:00
2024-11-14 13:04:51 +00:00
2024-11-14 13:04:51 +00:00
2024-11-14 13:04:51 +00:00
2024-11-14 13:04:51 +00:00
2024-11-14 13:04:51 +00:00
2024-11-14 13:04:51 +00:00
2024-11-14 13:04:51 +00:00
2024-11-14 13:04:51 +00:00
2025-01-21 05:36:47 -08:00
2024-11-14 13:04:51 +00:00
2024-11-14 13:04:51 +00:00
2024-11-14 13:04:51 +00:00
2024-11-14 13:04:51 +00:00
2020-11-05 19:46:35 +00:00
2024-11-14 13:04:51 +00:00
2024-05-08 08:59:01 +00:00
2024-11-14 13:04:51 +00:00
2024-11-14 13:04:51 +00:00
2024-11-14 13:04:51 +00:00
2024-11-14 13:04:51 +00:00
2024-11-14 13:04:51 +00:00
2024-11-14 13:04:51 +00:00
2024-11-14 13:04:51 +00:00
2024-11-14 13:04:51 +00:00
2024-11-14 13:04:51 +00:00
2025-01-20 04:52:01 -08:00
2024-11-14 13:04:51 +00:00
2024-11-14 13:04:51 +00:00
2024-11-14 13:04:51 +00:00
2024-11-14 13:04:51 +00:00
2024-11-14 13:04:51 +00:00
2024-11-14 13:04:51 +00:00
2024-11-14 13:04:51 +00:00
2024-12-09 11:40:42 +00:00
2024-11-14 13:04:51 +00:00
2024-12-09 11:40:42 +00:00
2024-11-14 13:04:51 +00:00
2024-11-14 13:04:51 +00:00
2024-11-14 13:04:51 +00:00
2024-11-19 11:14:40 +00:00
2024-11-14 13:04:51 +00:00
2024-11-14 13:04:51 +00:00
2022-02-16 01:32:14 +00:00
2024-11-14 13:04:51 +00:00
2024-11-14 13:04:51 +00:00
2024-11-14 13:04:51 +00:00
2024-11-14 13:04:51 +00:00
2024-04-03 15:57:20 +00:00
2024-11-14 13:04:51 +00:00
2024-11-14 13:04:51 +00:00
2024-10-11 16:53:52 +00:00
2024-11-14 13:04:51 +00:00
2020-11-25 12:01:44 +00:00
2021-05-10 14:15:07 +00:00
2024-02-05 22:38:18 +00:00
2024-05-27 11:52:48 +00:00
2024-11-15 16:49:56 +00:00
2024-11-14 13:04:51 +00:00
2024-11-14 13:04:51 +00:00
2024-11-14 13:04:51 +00:00
2022-07-25 12:21:59 +00:00
2024-11-14 13:04:51 +00:00
2024-11-14 13:04:51 +00:00
2024-11-14 13:04:51 +00:00
2025-01-06 05:58:25 -08:00
2022-12-14 13:41:46 +00:00
2024-11-14 13:04:51 +00:00
2024-10-09 08:38:48 +00:00
2023-04-20 19:19:01 +00:00
2024-11-14 13:04:51 +00:00
2024-11-14 13:04:51 +00:00
2024-11-14 13:04:51 +00:00
2024-11-14 13:04:51 +00:00
2024-11-14 13:04:51 +00:00
2021-02-05 23:53:28 +00:00
2024-11-14 13:04:51 +00:00
2024-11-14 13:04:51 +00:00
2024-11-14 13:04:51 +00:00
2022-06-19 17:02:41 +00:00
2024-11-14 13:04:51 +00:00
2022-01-13 20:52:33 +00:00
2022-01-13 20:52:33 +00:00
2023-04-20 19:19:01 +00:00
2024-11-14 13:04:51 +00:00
2024-11-14 13:04:51 +00:00
2024-11-14 13:04:51 +00:00
2024-02-14 20:12:05 +00:00
2023-04-20 19:19:01 +00:00
2024-11-14 13:04:51 +00:00
2024-11-14 13:04:51 +00:00
2024-11-14 13:04:51 +00:00
2024-11-14 13:04:51 +00:00
2024-11-14 13:04:51 +00:00
2021-07-01 18:43:14 +00:00
2024-11-14 13:04:51 +00:00
2021-06-01 15:55:03 +00:00
2024-11-14 13:04:51 +00:00
2024-11-14 13:04:51 +00:00
2024-11-14 13:04:51 +00:00
2024-11-14 13:04:51 +00:00
2024-11-14 13:04:51 +00:00
2024-11-14 13:04:51 +00:00
2024-11-14 13:04:51 +00:00
2024-11-14 13:04:51 +00:00
2024-11-14 13:04:51 +00:00
2025-04-09 03:56:37 -07:00
2024-11-14 13:04:51 +00:00
2024-11-14 13:04:51 +00:00
2024-11-14 13:04:51 +00:00
2024-11-14 13:04:51 +00:00
2024-11-14 13:04:51 +00:00
2024-11-14 13:04:51 +00:00
2024-11-15 15:00:21 +00:00
2021-06-03 22:47:56 +00:00
2024-10-11 16:53:52 +00:00