Control Web Panel

WebPanel => CentOS-WebPanel Bugs => Topic started by: tackleza on April 04, 2017, 02:16:52 PM

Title: Create subdomain can generate new dir in /home
Post by: tackleza on April 04, 2017, 02:16:52 PM
Hi

I found something that should not supposed to be. When user create new subdomain. If user input like this CWP will create new dir (Please look at pics)

(https://s11.postimg.org/w987z17cj/creatediroutsideuserhome.png)

After user created subdomain CWP will created a new dir within /home like this

(https://s11.postimg.org/fyd5zu16b/showdir.png)

Sorry for my English

Thank you
Apidech T.

================================
Server and Software information

Apache version: Apache/2.4.25
PHP version: 5.6.30
MySQL version: 10.1.22-MariaDB
FTP version: 1.0.30

CPU Model: Intel(R) Xeon(R) CPU X5650 @ 2.67GHz
CPU Details: 6 Core (2667 MHz)
Distro Name: CentOS release 6.8 (Final)
Kernel Version: 2.6.32-642.15.1.el6.x86_64
Platform: x86_64 [vmware]

CWP version: 0.9.8.200