View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0024883 | mantisbt | mentions | public | 2018-10-23 13:18 | 2022-02-20 10:24 |
Reporter | j_schultz | Assigned To | |||
Priority | normal | Severity | minor | Reproducibility | always |
Status | new | Resolution | open | ||
Product Version | 2.18.0 | ||||
Summary | 0024883: Mentioning user name with space does not work | ||||
Description | Trying to @-mention a user whose user name contains a space is not possible. | ||||
Additional Information | Probably not very easy to fix due to how this is implemented, I know... But here's a random idea: Given that the user name is "Foo Bar", if "@Foo" is matched but no such user exists, try to find any users whose name is "Foo *" and check if this is matched in the text. | ||||
Tags | No tags attached. | ||||
Will not be a clean solution, e.g. assume there is a user |
|
We should probably stop allowing spaces as part of usernames by default. That's a silly thing to do IMO, and I am not sure why we're doing that in the first place (it's been like this since 2003, see 0003183 MantisBT master 3aff2711 ) |
|
Given that there are legacy installations with spaces in names, that would only seem like a workaround to me, in particular since it will not fix the problem for these existing installations, where a proper solution like the one suggested by atrol would be required. I don't know how mentions work when displaying of real names is enabled, but if in this case the real name is usable, the same problem would exist again (and if not, I wonder how easy it is for users to actually find out the user name of another user). |
|