8000 reconsider whether nicklen needs to be enforced against the casefolded nick · Issue #2238 · ergochat/ergo · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
reconsider whether nicklen needs to be enforced against the casefolded nick #2238
Open
@slingamn

Description

@slingamn

if len(newNick) > config.Limits.NickLen || len(newCfNick) > config.Limits.NickLen {
return "", errNicknameInvalid, false
}

We enforce the nick length limit against both the original and the casefolded nickname. Under PRECIS, some case-normalized nicknames are longer than the original nickname (the report we got was about イザベラ).

What is nicklen really intended to protect? Can we just remove the second half of this check?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0