3

私は喜んでウェブを検索しました.joomlaが有効なユーザー名にどのような制限を課しているか知りたいです.

たとえば、最小長と最大長です。不正な文字。

データベース フィールドのサイズを見ると、最大長は 150 であると想定しています。また、{}[]- は違法であると読みましたが、他にも無効な文字があると思われます。

パスワードについても同じ質問です。サイズと文字の制限は何ですか。

ありがとうベン

4

1 に答える 1

4

Username has a maximum 150 character length per the database and a minimum 2 character requirement. It doesn't have a restriction on {}[]- however does not let you use any of: <>\"'%;()&

Password doesn't have any limitations as it's hashed to salted MD5. The field itself is limited to 100 characters though the hashing will ensure that it'll not get that long.

Ref: https://github.com/joomla/joomla-cms/blob/master/libraries/joomla/table/user.php#L184

于 2012-11-04T07:29:14.400 に答える