mirror of
https://github.com/cloudpanel-io/cloudpanel-ce.git
synced 2026-04-05 20:31:58 +02:00
CLI need normalize domain name field #399
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @John-Henrique on 5/10/2023
CloudPanel version(s) affected
2.2.2
Description
If you type a domain capitalized, cloud panel will create an account normally.
Example:
Resulting in directories like this
/home/Domain/htdocs/Domain.com
The same thing to Users and Databases.
How to reproduce
Just create a new site using CLI typing a capitalized domain
Possible Solution
Just a normalize to lower on CLI inputs.
Additional Context
Ok, I know this isn`t properly a error, but will be fine get all inputs normalized.