Advertisement:

Author Topic: how to solve homoglyph issue?  (Read 2447 times)

Offline shawnb61

  • Developer
  • SMF Hero
  • *
  • Posts: 2,117
    • sbulen on GitHub
Re: how to solve homoglyph issue?
« Reply #20 on: December 09, 2018, 05:59:13 PM »
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

Offline Arantor

  • Resident Overthinker
  • SMF Friend
  • SMF Legend
  • *
  • Posts: 72,812
    • StoryBB/StoryBB on GitHub
Re: how to solve homoglyph issue?
« Reply #21 on: December 09, 2018, 06:22:14 PM »
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?
Please don’t PM me for paid work, I’m not for hire, and even if I was, I doubt you could afford me.
USD$150 per hour. Typical waiting list 3 months.