id,summary,reporter,owner,description,type,status,priority,milestone,component,version,severity,resolution,keywords,cc
1266,Non xml chars break plugin_config in Resource tag Name,deloptes,dgollub,"when using osync_plugin_resource_set_name() with const char* containing non xml chars it breaks config.

the string passed should be converted in libopensync into xml string.

I used a quick workaround in akonadi-sync, but it is odd as you can not use the name in future i.e. for matching (nod that it is needed but it should match what you see in your source

{{{

 static QString toXml(QString str) {
        str.replace(""<"",""&lt;"").replace("">"",""&gt;"").replace(""&"",""and"");
        return str;
 }

 ...
 osync_plugin_resource_set_name( myRes, toXml( col.name() ).toLatin1() );
 ...

}}}
",defect,new,normal,OpenSync 0.40,OpenSync,,normal,,"osync_plugin_resource_set_name, non-xml",
