MantisBT: master-1.2.x 7f68bdba

Author Committer Branch Timestamp Parent
dhx dhx master-1.2.x 2010-04-22 22:40 master-1.2.x 04ab0f4f
Affected Issues  0011166: new configuration option of 'complex' type is created with string type
Changeset

Fix 0011166: Complex types could not be entered with newline chars

When setting complex configuration values via Manage Configuration =>
Configuration Report, newline characters weren't parsed correctly. This
meant that users had to enter complex array types on a single line.

This patch resolves the issue by stripping newline characters from any
complex type entered. It also applies a few other fixes to the parsing
of complex array types.

Bugs do remain and this complex array parsing is still very limited. The
current problems are:

  • An inability to parse multidimensional arrays
  • Array keys and values cannot contain commas or "=>"
mod - adm_config_set.php Diff File