Skip to content

Fixing funcion in validations.py #35434

Open
@Rud1095

Description

@Rud1095

Function validate user() works incorrectly, because it doesn't match dots and underscores and the start of the username.

validate_user("blue.kale", 3) # True

validate_user(".blue.kale", 3) # Currently True, should be False

validate_user("red_quinoa", 4) # True

validate_user("_red_quinoa", 4) # Currently True, should be False

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions