From 8f8898bc621b64ebe8570a992778c2ac0718fe36 Mon Sep 17 00:00:00 2001 From: gammazero <11790789+gammazero@users.noreply.github.com> Date: Thu, 2 Jan 2025 02:56:06 -1000 Subject: [PATCH] Handle boxo changes to redirect URL --- tests/path_gateway_unixfs_test.go | 2 +- tests/subdomain_gateway_ipfs_test.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/path_gateway_unixfs_test.go b/tests/path_gateway_unixfs_test.go index c2cb55ce4..d250d4197 100644 --- a/tests/path_gateway_unixfs_test.go +++ b/tests/path_gateway_unixfs_test.go @@ -39,7 +39,7 @@ func TestUnixFSDirectoryListing(t *testing.T) { Response: Expect(). Status(301). Headers( - Header("Location", `/ipfs/{{cid}}/%c4%85/%c4%99/`, root.Cid()), + Header("Location", `/ipfs/{{cid}}/%C4%85/%C4%99/`, root.Cid()), ), }, { diff --git a/tests/subdomain_gateway_ipfs_test.go b/tests/subdomain_gateway_ipfs_test.go index 8d86624b6..08342ae54 100644 --- a/tests/subdomain_gateway_ipfs_test.go +++ b/tests/subdomain_gateway_ipfs_test.go @@ -44,7 +44,7 @@ func TestUnixFSDirectoryListingOnSubdomainGateway(t *testing.T) { Response: Expect(). Status(301). Headers( - Header("Location").Equals(`/%c4%85/%c4%99/`), + Header("Location").Equals(`/%C4%85/%C4%99/`), ), }, {