Capitalization does not match when you open user cards using mentions

when you click on @qwe_rfv, It will work normally
But when you click on @QwE_rFv… did you get it?

1 Like

It works with both mentions for me.

2 Likes

I meant the username mentioned is different

3 Likes

I think this is related Missing capitalisation in username on usercard opened from message participants
On user card the username is case sensitive. I think it push the mentioned username to the user card.

4 Likes

Yes, That’s right. But Isn’t @Don really ummm… kind of bad?
I think It got to be like this: when someone mention @QwE_rFv , automatically turn Into @qwe_rfv

1 Like

I don’t think that the user called BenDover would agree with you :thinking:

3 Likes

Happy Eddie Murphy GIF by Laff

Why not always match the username? So beNdOVeR would become BenDover.

2 Likes

@Moin
Because these are two different usernames maybe?

No, usernames on Discourse are case aware but not case sensitive. USER, user and UsEr Are the same user.

2 Likes

I am putting #pr-welcome on this.

When you click @sAm you should probably see sam in the user card … not sAm

It is very minor, has very little user impact, probably an easy fix to correct it after the card loads all the data from the server.

5 Likes

I opened a PR for this:

:grinning:

8 Likes

Thanks @qWe_RfV for reporting this issue and @sHaUnA for fixing this :clap:

7 Likes