Requests | Blesta


Plesk: Domain name case and multiple domain names

Sean Kimball shared this idea 4 weeks ago
Under Consideration

Plesk will not allow an FTP user to have uppercase characters in the login name. When using the client portal a client can enter a domain name with uppercase characters which will result in a provisioning error.

Additionally if a client attempts to provision domain names that are the same but have different TLDs Blest (Plesk module) will attempt to auto generate identical FTP user names in some cases. i.e. a client attempts to provision: & (as so frequently happens)

It appears that the generateUsername() function in the API will create a user name of only 8 characters in length.

Please update the Plesk Module to:

> Enforce lowercase domain names and user names

> Generate unique FTP user names based on partial domain names and a random string (i.e. mydomain_hf73ck - plesk allows up to 16 characters for a user name*)

> add error conditions and user feedback when a name collision or validation error occurs.

* The error plesk gives says 32 characters, though some of the plesk username form fields only allow 16

You can use lowercase alphanumeric, dash, and underscore symbols in the username. The username should start with a lowercase alphabetic character and should be between 1 and 32 characters in length.