XML Data (schema and data) is not properly escaped.

2014-06-10
2014-07-18
  • Luca Santarelli

    Luca Santarelli - 2014-06-10

    Running an export/import or an initial load fails due to having a table with a column with an '&' in its name. The resulting XML is invalid and the receiving node fails.

    It looks to me like the change in http://www.symmetricds.org/issues/view.php?id=856 isn't enough. It uses StringEscapeUtils to escape the value, but not to escape the column name, resulting in the invalid XML.

    [Please, don't ask why I have a column w/ "&" in its name]

     
  • Chris Henson

    Chris Henson - 2014-06-10

    Go ahead and open a bug. We'll get it fixed.

     
  • Luca Santarelli

    Luca Santarelli - 2014-06-11

    Done, thanks.

     
  • Chris Henson

    Chris Henson - 2014-07-07

    I just checked in a fix for this. It will be in 3.6.2.

     
    • Luca Santarelli

      Luca Santarelli - 2014-07-18

      Thank you!

       

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks