agarzon
Basic Pleskian
TITLE:
ACTUAL RESULT:
Plesk php.ini web editor converts to CRLF in Linux systems
PRODUCT, VERSION, OPERATING SYSTEM, ARCHITECTURE:Plesk Onyx Versión 17.8.11, CentOS Linux 7.6.1810 (Core), x86_64 GNU/Linux
PROBLEM DESCRIPTION:I noticed the web editor in the panel, where you can edit php.ini settings, converts the file to DOS Newlines CRLF instead preserving it as the original LF Unix ending.
STEPS TO REPRODUCE:- Edit and save any change using the php.ini web editor in the Plesk panel
- Chek the file format has changed: file /opt/plesk/php/7.3/etc/php.ini
- if you get "ASCII text, with CRLF line terminators" it means the Plesk editor is changing the file format from Unix to DOS, which is bad.
- The original file before any modification has no CRLF terminators. You can compare with any fresh installation and even with the build in /etc/php.ini file.
php.ini files are being converted from LF to CRLF.
EXPECTED RESULT:php.ini files should not be converted from their original terminators.
ANY ADDITIONAL INFORMATION:
YOUR EXPECTATIONS FROM PLESK SERVICE TEAM:Confirm bug