MantisBT: master-1.3.x 7bbf2ea4

Author Committer Branch Timestamp Parent
dregad dregad master-1.3.x 2016-06-16 16:11 master-1.3.x b1173d80
Affected Issues  0021136: Editing config option containing newline corrupts them by inserting <br> tags
Changeset

Avoid config values corruption when editing them

Prior to this, an nl2br() conversion was systematically performed when
displaying the config option. This caused insertion of '
' tags
when editing configs containing newlines, which would then be saved.

We now only perform the nl2br conversion when the config is printed for
display.

Fixes 0021136

mod - adm_config_report.php Diff File