#5337 As a maintainer or collaborator, I should be able to tag users with hyphenated usernames (e.g. @example-user).
Opened 2 years ago by jflory7. Modified 2 years ago

Summary

Hyphenated usernames cannot be tagged in comment fields

Background

In an issue discussion, recently I tried tagging @sarah-thornton (profile) who has a hyphenated username. However, while the username automatic completion (i.e. after typing "@") successfully identifies her user account, the connection is not kept in a rendered comment. See fedora-diversity#237.

This may not have been an issue until the new authentication system was released for the Fedora Account System. I don't remember whether hyphens were allowed characters in the old system.

Details

Users with hyphenated usernames should have their usernames correctly linked in comment field and also send a notification (e.g. email) to the user who is tagged.

I'm not sure if additional characters are supported in the new Fedora Account System that weren't in the old system, but it could be a good idea to check and confirm in case it happens with other characters too.

Outcome

Users with hyphenated usernames can be tagged in discussions and notified via email when their username is tagged in a comment


Login to comment on this ticket.

Metadata