Should Unicode be allowed in usernames?

后端 未结 8 1973
感情败类
感情败类 2020-12-25 09:58

Why do most (all?) websites only support usernames in ASCII? Are there any security considerations if an admin decides to start accepting Unicode usernames?

8条回答
  •  陌清茗
    陌清茗 (楼主)
    2020-12-25 10:24

    HTTP authentication? There could be some problems with sending the unicode username (and/or password) over existing protocols. One case that I have run into before is with Basic authentication. There is no well defined way to handle sending these unicode usernames/passwords in the basic auth headers.

提交回复
热议问题