outroll / vesta

VESTA Control Panel
http://vestacp.com
GNU General Public License v3.0
2.94k stars 1.03k forks source link

Surname field won't take ' #1692

Open lazzurs opened 6 years ago

lazzurs commented 6 years ago

The surname (and I would guess forename, not tried) field won't take ' in the name. This causes an issues with Irish names like O'Malley.

tlcd96 commented 6 years ago

Please give more informationl:

Use The following template:

Operating System (OS/VERSION):

DATA

VestaCP Version:

DATA

Installed Software (what you got with the installer):

DATA

Steps to Reproduce:

DATA

Related Issues/Forum Threads:

DATA

Other Notes:

DATA

URL

DATA (E.G:) :8083/list/user/

lazzurs commented 6 years ago

Operating System (OS/VERSION):

Debian 9.5

VestaCP Version:

0.9.8-22

Installed Software (what you got with the installer):

VestaCP + exim + dovecot + Apache + nginx

Steps to Reproduce:

  1. Open control panel interface
  2. Try and create a new user with a surname of O'Malley
  3. User fails to create due to ' in name

Related Issues/Forum Threads:

N/A

Other Notes:

Tested and happens with the first name too.

Error message

Error: invalid first name format :: Moo'Bah

On the page with the error message the name looks like this in the field.

O'\''Malley