As designed Username lookup with multiple @

ichpen

Well-known member
Affected version
2.0.10
I have a few users that have an embedded @ in their usernames for example dave@something.

I'm noticing that XF2 username lookup in any view (post, conversation etc) doesn't work for those users though it will resolve BBCode
Code:
[USER=xxx]
if I type it out fully.

Code:
Typing @Dave@something never shows the username in the lookup.

Is that something that can be addressed in the future or are usernames with @ not supported?
 
Last edited:
Essentially, this is as expected. There are some limitations with usernames we may try to auto complete due to ambiguity. These would include names with @ or square brackets in them, as they may be interpreted in a different way. This isn't something that is likely to change.

When we process the full text looking for mentions, the behavior may be a little different (vs the cursor based approach of the editor).

Note that this may change depending on technical implementation, though limits with potentially ambiguous cases is something we'd consider as expected.
 
Top Bottom