config migration - CDATA added to tags

  • Hi all,

    Upon exporting config.xml from 2.3.4 and importing to 2.4.4 I've noticed that some tags have been replaced as below:




    It doesn't seem to be affecting functionality but I'm curious to know why this happened and whether it's safe to roll it back manually (i.e. remove <![CDATA[]]>)?


  • Netgate Administrator

    It defines it as character data. It's expected, don't remove it.


  • Rebel Alliance Developer Netgate

    On the older version those fields were not properly protected, so if someone entered a character that was not valid xml (such as an accented character) it would cause the config to be tossed out. Those characters are fine to have inside CDATA tags, though. We don't go too nuts with the CDATA encapsulation though because it adds a bit of extra data to the config, making it larger.

Log in to reply