"Additional Configuration Directives" doesn't allow for spaces in value #178

Closed
opened 2026-04-05 20:25:41 +02:00 by MrUnknownDE · 0 comments
Owner

Originally created by @bakkerpj on 10/6/2024

CloudPanel version(s) affected

2.4.2

Description

The key=value pairs under Sites -> [Site] -> Settings -> PHP Settings -> Additional Configuration Directives don't allow for values that contain spaces. These are removed upon save.

How to reproduce

Enter a value like:
sendmail_path='/usr/bin/msmtp -t -C /etc/msmtp.conf';

After saving this becomes:
sendmail_path='/usr/bin/msmtp-t-C/etc/msmtp.conf';

Possible Solution

No response

Additional Context

No response

*Originally created by @bakkerpj on 10/6/2024* ### CloudPanel version(s) affected 2.4.2 ### Description The key=value pairs under `Sites -> [Site] -> Settings -> PHP Settings -> Additional Configuration Directives` don't allow for values that contain spaces. These are removed upon save. ### How to reproduce Enter a value like: `sendmail_path='/usr/bin/msmtp -t -C /etc/msmtp.conf';` After saving this becomes: `sendmail_path='/usr/bin/msmtp-t-C/etc/msmtp.conf';` ### Possible Solution _No response_ ### Additional Context _No response_
MrUnknownDE added the bugbugbugbugbugbugbugbugbugbugbugbugbugbug labels 2026-04-05 20:25:43 +02:00
Sign in to join this conversation.