@fedify/fedify 1.4.5 → 1.4.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGES.md +55 -1
- package/README.md +1 -1
- package/esm/deno.js +1 -1
- package/esm/vocab/actor.js +2 -2
- package/esm/vocab/lookup.js +1 -1
- package/esm/vocab/vocab.js +176 -176
- package/esm/webfinger/handler.js +2 -2
- package/package.json +1 -1
- package/types/deps/jsr.io/@std/async/{1.0.10 → 1.0.11}/delay.d.ts.map +1 -1
- /package/esm/deps/jsr.io/@std/async/{1.0.10 → 1.0.11}/delay.js +0 -0
- /package/types/deps/jsr.io/@std/async/{1.0.10 → 1.0.11}/delay.d.ts +0 -0
package/esm/webfinger/handler.js
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
import { getLogger } from "@logtape/logtape";
|
2
2
|
import { SpanKind, SpanStatusCode } from "@opentelemetry/api";
|
3
|
-
import {
|
3
|
+
import { domainToASCII } from "node:url";
|
4
4
|
import { Link as LinkObject } from "../vocab/mod.js";
|
5
5
|
const logger = getLogger(["fedify", "webfinger", "server"]);
|
6
6
|
/**
|
@@ -84,7 +84,7 @@ async function handleWebFingerInternal(request, { context, actorDispatcher, acto
|
|
84
84
|
identifier = await mapUsernameToIdentifier(result.username);
|
85
85
|
}
|
86
86
|
}
|
87
|
-
else if (
|
87
|
+
else if (domainToASCII(match[2].toLowerCase()) != context.url.host) {
|
88
88
|
return await onNotFound(request);
|
89
89
|
}
|
90
90
|
else {
|
package/package.json
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"delay.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/async/1.0.
|
1
|
+
{"version":3,"file":"delay.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/async/1.0.11/delay.ts"],"names":[],"mappings":";AAMA,MAAM,WAAW,YAAY;IAC3B,sCAAsC;IACtC,MAAM,CAAC,EAAE,WAAW,CAAC;IACrB;;;OAGG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8BG;AACH,wBAAgB,KAAK,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,GAAE,YAAiB,GAAG,OAAO,CAAC,IAAI,CAAC,CA2B3E"}
|
File without changes
|
File without changes
|