Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: user_name varchar(25) -very small value for none latin languages in UTF-8 format  (Read 2547 times)

0 Members and 1 Guest are viewing this topic.

Makc666

  • Translator
  • Coppermine addict
  • **
  • Offline Offline
  • Gender: Male
  • Posts: 1614
  • Русский (ISO-8859-1) - Russian - Русский (Windows)
    • Makc's home page

When user register his account and he uses Latin symbols,
then his name will go to SQL base as 1 symbol registration to 1 symbol in SQL.

When user register his account and he uses NONE Latin symbols,
then his name will go to SQL base as 1 symbol registration to 2 symbol in SQL.

That mean that automatically his username is divided by 2.
And will be not 25 symbols but 12 symbols.

Why not chage user_name varchar(25) by default to bigger value???
Logged
Pages: [1]   Go Up
 

Page created in 0.021 seconds with 20 queries.