Control Web Panel

WebPanel => CentOS-WebPanel Bugs => Topic started by: chrisg on February 28, 2019, 11:17:00 AM

Title: Editor saves files with Windows line breaks (cr/lf)
Post by: chrisg on February 28, 2019, 11:17:00 AM
Both the editor in the simple file manager and the editor in the advanced file manager save text files with Windows line breaks (cr/lf) instead of Unix line breaks (lf). This causes problems with many services when you edit their configuration files.

The problem happens with both Firefox and Chrome on a Windows or Linux(!) client with CWP Pro running on Centos 7.6.1810 (Core).

I noticed this because Midnight Commander shows ^M at the end of each line.

Otherwise I'm very happy with CWP Pro!