Coming from #3523267: ActivityPub server not searchable with Nginx, I noticed that when a webfinger request searches for an actor, the matching is case sensitive.

E.g, this https://hybridized-concepts.com/.well-known/webfinger?resource=cwsmith@h...
does not work, where as with CWSmith@hybridized-concepts.com it does.

which makes me wonder: is this a bug, or by design? How do other AP software handle this, or is there anything in the spec about this?

Important! webfinger tries to load the http://webfinger.net/rel/profile-page href based on that username, but it looks it up by matching a drupal user, which might be completely wrong!

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

swentel created an issue. See original summary.

swentel’s picture

swentel’s picture

Title: Should loadActorByName() be case insensitive? » Fix loading actor in WebfingerProfileSubscriber

swentel’s picture

Issue summary: View changes
swentel’s picture

Priority: Normal » Major

This is a really big bug!

swentel’s picture

Title: Fix loading actor in WebfingerProfileSubscriber » Fix loading actor and user in WebfingerProfileSubscriber
swentel’s picture

Issue summary: View changes

  • swentel committed 7577af59 on 1.0.x
    Issue #3523720: Fix loading actor in WebfingerProfileSubscriber
    
swentel’s picture

Status: Active » Fixed

Wow, that was a nice one to figure out!

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.