pegasus
Well-known member
- Affected version
- 2.0.1
When running cmd.php xf-addon:export
Looking at the code for add-on data-types in general, a lot of things which should be escaped are not escaped, and this causes problems when characters like < > & " appear in the node value. Recommend using $doc->createCDATASection before adding content to XML elements.
First noticed this issue in 2.0.1, but updating to 2.0.2 did not resolve the issue.
Code:
ErrorException: [E_WARNING] DOMDocument::createElement(): unterminated entity reference ... src/XF/AddOn/DataType/Option.php:38
First noticed this issue in 2.0.1, but updating to 2.0.2 did not resolve the issue.
Last edited: