SMF Development > Fixed or Bogus Bugs
Usernames with asterisk (*) not possible
Kissaki:
When I try to change the display-name of a user I get denied.
We use a asterisk (*) in our Tag, hence we already have asterisks in our user- and displaynames. This worked in SMF 1.1.
Now when I try to edit a users display name, which already has a asterisk in it (I add another character at a different place (a ']')), it tells me "*" is a reserved name.
Even when I disable checking for username and display name in the reserved names settings, I get denied with said message.
The asterisk is not in the reserved name, in no entry.
I see this was introduced to usernames in #3376 (http://dev.simplemachines.org/mantis/view.php?id=3376 ).
However, proper escaping would still allow asterisks.
Also, I can change the users group when I don’t change the display name, and it will save. Why not when I change the display name? Especially when it is actually only the username that is disallowed an asterisk (thats what I get from linked #3376 comment).
Alternatively, if you will not implement proper escaping and allow asterisks again, add proper error management.
Arantor:
What 'tag' are you referring to exactly?
Most of the reason for the * is not because of escaping, actually. It's because of the way searching works on usernames, where people use * as a wildcard.
Kissaki:
Clantag, in our case:
[DooC]*
Arantor:
Ah, I see. The fact remains is that SMF 2.0 considers it a reserved character for multiple good reasons, I can pretty much guarantee it'll never be changed back because of the problems attached to using the member search (and auto suggest) features.
Kissaki:
Then it should either give an appropriate message (making clear not the reserved names you can set up are meant, but a hard-coded disallowed character was matched).
Adding a note to the reserved names page would be another idea - good as a plus.
Navigation
[0] Message Index
[#] Next page
Go to full version