From c62329d6a2d27e71200fcf44427f15682a389956 Mon Sep 17 00:00:00 2001 From: Meghan Denny Date: Sun, 11 Jan 2026 22:46:13 -0800 Subject: [PATCH] =?UTF-8?q?=E2=94=94=E2=94=80=20run=20test=20399/543=20pas?= =?UTF-8?q?sed,=20136=20failed,=208=20skipped?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- url.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/url.zig b/url.zig index ab8c5b5357b36a880ba7f77b2282489cb6332a61..91011446c6f7163eed66d9644e473678921edaba 100644 --- a/url.zig +++ b/url.zig @@ -839,7 +839,7 @@ fn parseHost(allocator: std.mem.Allocator, input: []u8, isOpaque: bool) !URL.Hos // 1. If input does not end with U+005D (]), IPv6-unclosed validation error, return failure. if (!std.mem.endsWith(u8, input, "]")) return error.InvalidURL; // 2. Return the result of IPv6 parsing input with its leading U+005B ([) and trailing U+005D (]) removed. - const adr = try parseIPv6(input[1 .. input.len - 1 - 1]); + const adr = try parseIPv6(input[1 .. input.len - 1]); return .{ .ipv6 = adr }; } // 2. If isOpaque is true, then return the result of opaque-host parsing input. -- 2.54.0