The $Config/Dump command does not wrap values as a string if it contains "special characters" such as : which will result in an invalid YAML.
The proper way should probably be to check if the string contains a " which would wrap the string with '. If it contains a ' it would wrap with ". And it should probably also check for other special characters. But this will solve the immediate problem.
This is a work-around for the issue #1270
The
$Config/Dump
command does not wrap values as a string if it contains "special characters" such as:
which will result in an invalid YAML.The proper way should probably be to check if the string contains a
"
which would wrap the string with'
. If it contains a'
it would wrap with"
. And it should probably also check for other special characters. But this will solve the immediate problem.