OSM user names shortened for discourse?

That seems related with no special characters as part of the nickname.

I keep surprising myself about how osm.org is so permissive with nicknames and that hasn’t resulted in major issues with the DB, APIs or external apps :sweat_smile:

1 Like

it must be said that Amanda’s username is
 special :laughing:

1 Like

Hmm, that’s not ideal for a global audience. Imagine your Chinese user name ends up as “user2”: https://community.openstreetmap.org/u/user2/summary

Detailed validation logic

3 Likes

It seems there are a few options for whitelisting some unicode characters and a warning about not going too broad:

2 Likes

Is the problem with user names longer than 20 characters solved in meantime or will OSM names longer than that still be cut down to 20 when registrating here?

@Firefishy what’s your recommendation here?

@Firefishy
Any news regarding this issue 
??.. sorry to bother you but I believe it would be helpful if every interested user would be able to register with their OSM name and not only those with names shorter than 20 characters and not containing certain unicode.

You aren’t fluent in Ogham script, really? :upside_down_face:

2 Likes

I am unsure what the solution is. The restriction are built into discourse and are unlikely to be easy to override.

Not sure if it’s to much attention, but could we inform affected users before they signup to avoid confusion or shitstorm?

1 Like

We can change those default values in the settings. This includes extending the range of permitted unicode chars:

dc2

1 Like

Thanks for your feedback. I am not sure about the possible maxlength, ist it 20 characters (which appears to be the default) or 60 as mentioned by nukeador in #5?

If there is no way to establish a more flexible name handling, I would support the suggestion of _i1 to inform affected OSM users if that would be possible 


I have now increased max length from 20 → 40 and enabled Unicode. Unicode usernames were not allowed before.

4 Likes

Did you enable any unicode? There were some recommendations about being careful about it from discourse devs.

With a diverse community like ours, where the members are from all over the world, writing in many different scripts, I would expect usernames to contain lots of different characters, whitelisting does not seem feasible

The users’ username is set from their OSM login. We are very flexible on what we allow on OSM.org, so likely best being as flexible here to now cause any disruption for users.

3 Likes

Now also allowed min characters to 1. Username is set from osm.org, so will be overridden from whatever is allowed there.

1 Like

Noted, just making sure we were OK with potential homograph attacks on usernames as a result of allowing any unicode char.

It also breaks the internal letter avatar system as far as I read.

Yes - those are a thing already (sometimes not even needing unicode). https://www.openstreetmap.org/user_blocks/4730 is a block on one such. As Firefishy says it I don’t think that it makes a lot of sense to have this site more strict than osm.org where users come from.

3 Likes