Skip to content

Cannot follow user with email address as name #152

@Downes

Description

@Downes

In a WordPress environment with ActivityPub installed, I can successfully follow @Downes@leftish.media from Mastodon, but cannot follow @stephen@downes.ca@leftish.media

The problem may be related to the behaviour of the Web Finger plugin, as 'Downes' resolves nicely: https://leftish.media/.well-known/webfinger?resource=acct:Downes@leftish.media
while 'stephen@downes.ca' does not: https://leftish.media/.well-known/webfinger?resource=acct:stephen@downes.ca@leftish.media

The error appears to be caused by the parsing of username and website URL from the identifier. It appears to be splitting at the first '@' which would result in a username of 'stephen' and a website of 'downes.ca@leftish.media' whereas it should be split at the last '@', which would result in a username of 'stephen@downes.ca' and 'leftish.media'.

This issue may exist in several plugins. It may also exist in ActivityPub clients as well, such as Mastodon.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions