News:

SMF 2.1.4 has been released! Take it for a spin! Read more.

Main Menu

how to solve homoglyph issue?

Started by Paul2, December 05, 2018, 11:31:49 AM

Previous topic - Next topic

shawnb61

An ASCII restriction is not a good solution. 

However, there are libraries/approaches out there to test for homoglyphs.  (I think it's even native to .js.) 

I do think that a homoglyph check would be a useful feature.  The sample provided above is valid:  "Mіau!" and "Miau!" are two distinct names, and are not caught by the existing SMF dupe prevention.   

There are valid reasons we prevent dupes, and it would be proper to close such loopholes. 


EDIT: I logged a feature request here:
https://www.simplemachines.org/community/index.php?topic=563911.0
Address the process rather than the outcome.  Then, the outcome becomes more likely.   - Fripp

Arantor

Except that this is a huge matter of debate: how far do you go? If you follow the very link in your example, you potentially consider 'cj' as a homoglyph of 'g'. How far down that road do you possibly go?

Advertisement: