[Linuxdcpp-team] [Bug 1649066] Re: Invalid UTF-8 data is not always being rejected

2016-12-18 Thread poy
applied - utf8-validation-1649066 bookmark. TODO - could you please: - add a test case for this in test/testxml.cpp? - make this somehow optional so current hub lists keep working for now? and I'd be interested in knowing how much this impacts the time it takes to parse some big file lists... --

[Linuxdcpp-team] [Bug 1649066] Re: Invalid UTF-8 data is not always being rejected

2016-12-18 Thread maksis
This patch for DC++ addresses 1) and 3) ** Patch added: "utf8.patch" https://bugs.launchpad.net/dcplusplus/+bug/1649066/+attachment/4793524/+files/utf8.patch -- You received this bug notification because you are a member of Dcplusplus-team, which is subscribed to DC++. https://bugs.launchpad

[Linuxdcpp-team] [Bug 1649066] Re: Invalid UTF-8 data is not always being rejected

2016-12-18 Thread maksis
I've implemented UTF-8 validation for XML parsing in AirDC++: https://github.com/airdcpp/airgit/commit/82e02ff9f7023a4aa5a35b61c4cd313b9fed59a6 The only issue I've noticed is that the default hublist (http://dchublist.com/hublist.xml.bz2) won't pass the validation. -- You received this bug notif