Git Product home page Git Product logo

Comments (5)

rafalp avatar rafalp commented on August 11, 2024

On/Off switch may be introduced to enable uses to use diacritics in usernames, however non-alphanumericals will not fly. Markdown parser needs to be able to differ user names from links, e-mail addresses or Markdown syntax

from misago.

paroxp avatar paroxp commented on August 11, 2024

Freedom is very important thing, however it shall not be set by default... It is not so important, so as long as you'll leave in the planning stage and try it for 1.x versions that will be great!

from misago.

rafalp avatar rafalp commented on August 11, 2024

Here's how it's implemented:

There is setting in settings_base.py, UNICODE_USERNAMES, that defaults to True. Ergo, its defautly possible to register user by name "RafałPitoń", but if you run forum that will have users from all over the world, you may want to restrict names to something anyone with QWERTY keyboard can type, so copypaste that entry from settings_base.py to your deployment's settings.py, and change it value to False, making it impossible to use usernames with diacritics.

from misago.

KaneTW avatar KaneTW commented on August 11, 2024

This seems to be broken again. misago/users/validators.py:validate_username_content only allows [0-9a-z].

from misago.

rafalp avatar rafalp commented on August 11, 2024

This is by design. Keeping usernames like that keeps mentions implementation simple, saves us from having to open monoglyphs can of worms, and keeps usernames typeable by international audience.

from misago.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.