cr_xml_dump_int() should point to a forbidden character #424
Labels
Priority: LOW
Triaged
Someone on the DNF team has read the issue and determined the next steps to take
struct cr_XmlStruct cr_xml_dump_int(cr_Package *pkg, gboolean filelists_ext, GError **err) correctly rejects a package whose metadata cannot be represented in XML:
But the callers would like to know where the forbidden character is. Requested in #165 (comment).
Because cr_Package_contains_forbidden_control_chars() and lower functions are in public createrepo_c/xml_dump.h header file and they miss an argument for returning the precise location, a fix will need to add new functions (and wrap the current ones) not to break ABI.
The text was updated successfully, but these errors were encountered: