Loading CHANGES.md +15 −1 Original line number Diff line number Diff line Loading @@ -8,6 +8,9 @@ Version 1.0.11 To be released. - Fixed a bug where `lookupWebFinger()` function had thrown a `TypeError` when the *.well-known/webfinger* redirects to a relative URI. [[#166]] Version 1.0.10 -------------- Loading Loading @@ -350,10 +353,21 @@ Released on September 26, 2024. [#137]: https://github.com/dahlia/fedify/issues/137 Version 0.15.9 -------------- Released on November 22, 2024. - Fixed a bug where `lookupWebFinger()` function had thrown a `TypeError` when the *.well-known/webfinger* redirects to a relative URI. [[#166]] [#166]: https://github.com/dahlia/fedify/issues/166 Version 0.15.8 -------------- Released on November 159, 2024. Released on November 19, 2024. - Fix a bug where `Actor`'s `inbox` and `outbox` properties had not been able to be set to an `OrderedCollectionPage` object, even though it is Loading src/webfinger/lookup.test.ts +5 −2 Original line number Diff line number Diff line Loading @@ -76,8 +76,11 @@ test("lookupWebFinger()", async (t) => { mf.mock( "GET@/.well-known/webfinger", (req) => Response.redirect(new URL("/.well-known/webfinger2", req.url), 302), (_) => new Response("", { status: 302, headers: { Location: "/.well-known/webfinger2" }, }), ); mf.mock( "GET@/.well-known/webfinger2", Loading src/webfinger/lookup.ts +4 −1 Original line number Diff line number Diff line Loading @@ -48,7 +48,10 @@ export async function lookupWebFinger( response.status >= 300 && response.status < 400 && response.headers.has("Location") ) { url = new URL(response.headers.get("Location")!); url = new URL( response.headers.get("Location")!, response.url == null || response.url === "" ? url : response.url, ); continue; } if (!response.ok) { Loading Loading
CHANGES.md +15 −1 Original line number Diff line number Diff line Loading @@ -8,6 +8,9 @@ Version 1.0.11 To be released. - Fixed a bug where `lookupWebFinger()` function had thrown a `TypeError` when the *.well-known/webfinger* redirects to a relative URI. [[#166]] Version 1.0.10 -------------- Loading Loading @@ -350,10 +353,21 @@ Released on September 26, 2024. [#137]: https://github.com/dahlia/fedify/issues/137 Version 0.15.9 -------------- Released on November 22, 2024. - Fixed a bug where `lookupWebFinger()` function had thrown a `TypeError` when the *.well-known/webfinger* redirects to a relative URI. [[#166]] [#166]: https://github.com/dahlia/fedify/issues/166 Version 0.15.8 -------------- Released on November 159, 2024. Released on November 19, 2024. - Fix a bug where `Actor`'s `inbox` and `outbox` properties had not been able to be set to an `OrderedCollectionPage` object, even though it is Loading
src/webfinger/lookup.test.ts +5 −2 Original line number Diff line number Diff line Loading @@ -76,8 +76,11 @@ test("lookupWebFinger()", async (t) => { mf.mock( "GET@/.well-known/webfinger", (req) => Response.redirect(new URL("/.well-known/webfinger2", req.url), 302), (_) => new Response("", { status: 302, headers: { Location: "/.well-known/webfinger2" }, }), ); mf.mock( "GET@/.well-known/webfinger2", Loading
src/webfinger/lookup.ts +4 −1 Original line number Diff line number Diff line Loading @@ -48,7 +48,10 @@ export async function lookupWebFinger( response.status >= 300 && response.status < 400 && response.headers.has("Location") ) { url = new URL(response.headers.get("Location")!); url = new URL( response.headers.get("Location")!, response.url == null || response.url === "" ? url : response.url, ); continue; } if (!response.ok) { Loading