Control Web Panel

WebPanel => CentOS-WebPanel Bugs => Topic started by: Rob P on June 12, 2020, 03:19:46 PM

Title: Huge File Manager Bug - Converting Text
Post by: Rob P on June 12, 2020, 03:19:46 PM
The file manager is now completely unusable. Its converting html entities into the decoded text. For example I saved & in my file when I re-opened it was converted to &, so when I re-saved it converted all those entities into &. This is a HUGE bug and can cause major damage to users code. This needs to be fixed ASAP.
Title: Re: Huge File Manager Bug - Converting Text
Post by: Rob P on June 12, 2020, 03:58:26 PM
Just to give an example. I spent 2 hours today after a script on my site wasn't working only to find out the regex in the script was broken because of this issue. Centos Web Panel just changing my code whenever I save a file.
Title: Re: Huge File Manager Bug - Converting Text
Post by: pixelpadre on June 12, 2020, 08:34:23 PM
I vaguely remember zencart doing this as a security fix.
Title: Re: Huge File Manager Bug - Converting Text
Post by: Rob P on June 16, 2020, 10:43:34 PM
I vaguely remember zencart doing this as a security fix.

Huh? What does this have to do with zencart? The file editor in centos web panel is broken and converts html decoded characters automatically when they shouldn't be. This makes it unusable for saving code which defeats the purpose of having a file editor.