cloudpanel-io / cloudpanel-ce

1.28k stars 106 forks source link

wp-config.php and .htaccess files are empty #461

Closed jahangirdev closed 5 months ago

jahangirdev commented 5 months ago

CloudPanel version(s) affected

2.4.1

Description

When I am navigating to a site, then File Manager and trying to open the wp-config.php or .htaccess file in editor. It is showing empty. But the file size is not 0B. So, actually there are contents in the files but it is not showing. Even the website is working fine.

How to reproduce

Go to a wordpress website and then try to open .htaccess or wp-config.php file in editor.

Possible Solution

No response

Additional Context

No response

cloudpanel-io commented 5 months ago

Not a CloudPanel bug, it's blocked by Cloudflare:

https://community.cloudflare.com/t/wp-config-php-is-being-blocked-by-waf/436349/2