Skip to content

WebFinger subject field strips www. subdomain, breaking handle-based lookups from fediverse clients #1715

Description

@r3pek

When querying the WebFinger endpoint for a self-hosted Ghost blog at www.r3pek.org, the returned subject field incorrectly drops the www. subdomain, returning acct:index@r3pek.org instead of acct:index@www.r3pek.org. All other fields in the response (actor id, aliases, links) correctly include www..

This is especially problematic when the apex domain (r3pek.org in this case) is already in use by a separate service. In my case, a Mastodon instance — because the mis-stripped handle @index@r3pek.org routes WebFinger lookups to the wrong server entirely.

(url env var is corretly pointing to https://www.r3pek.org)

This was identified on the ap.ghost.org service.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions