dart-sdk/sdk/lib/core
Lasse R.H. Nielsen 06d6ef38a9 Fix bug in Uri.resolve with IPv6 addresses.
The `resolve`/`resolveUri` operation would take the
`.host` of the URI reference and include it verbatim
in the output. Since the `.host` getter returns IPv6
addresses *without* their `[`...`]` braces, that would
become invalid.

Also make sure to normalize the parts of the URI reference
that are used, if it is not a platform URI.

Fixes #55085

BUG= https://dartbug.com/55085

Change-Id: I3dbc8af953af0974346e38ba3203796647069ea8
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/355781
Reviewed-by: Stephen Adams <sra@google.com>
Commit-Queue: Lasse Nielsen <lrn@google.com>
Reviewed-by: Martin Kustermann <kustermann@google.com>
Reviewed-by: Nate Bosch <nbosch@google.com>
Commit-Queue: Martin Kustermann <kustermann@google.com>
Auto-Submit: Lasse Nielsen <lrn@google.com>
2024-03-11 14:48:24 +00:00
..
annotations.dart fix @override description typo 2023-08-07 17:00:48 +00:00
bigint.dart
bool.dart Fix bad link in updated docs. 2023-10-20 14:47:26 +00:00
comparable.dart
core.dart
core_sources.gni
date_time.dart Fix docs of DateTime.from constructors 2023-07-11 10:03:48 +00:00
double.dart
duration.dart
enum.dart Add extra documentation to Enum to point to EnumName. 2024-01-23 09:34:32 +00:00
errors.dart Make all platforms return null from Error.stackTrace until thrown. 2024-02-27 23:01:06 +00:00
exceptions.dart
function.dart
identical.dart
int.dart Update documentation on fromEnvironment constructors. 2023-10-20 07:57:18 +00:00
invocation.dart
iterable.dart Document the return value of any and every for empty values. 2023-07-11 13:05:40 +00:00
iterator.dart
list.dart Hide the existence of EfficientLengthIterable better. 2023-09-12 11:08:42 +00:00
map.dart
null.dart
num.dart
object.dart [dart2wasm] Improve closure hash codes 2024-02-21 14:44:20 +00:00
pattern.dart
print.dart Adds tests and documentation for print line ending behavior 2023-10-17 22:10:38 +00:00
record.dart
regexp.dart
set.dart Hide the existence of EfficientLengthIterable better. 2023-09-12 11:08:42 +00:00
sink.dart
stacktrace.dart
stopwatch.dart
string.dart String.fromCharCodes allows start and end after end of iterable. 2023-11-17 13:34:22 +00:00
string_buffer.dart
string_sink.dart
symbol.dart
type.dart
uri.dart Fix bug in Uri.resolve with IPv6 addresses. 2024-03-11 14:48:24 +00:00
weak.dart