]> git.ipfire.org Git - thirdparty/libsolv.git/commit
Fix misparsing of '&' in attributes with libxml2
authorMichael Schroeder <mls@suse.de>
Mon, 20 Sep 2021 13:10:38 +0000 (15:10 +0200)
committerMichael Schroeder <mls@suse.de>
Mon, 20 Sep 2021 13:10:38 +0000 (15:10 +0200)
commit9a13593b43bd883be6bf4260edbfc8eaf766ffa8
treefd5bf690637766c37cce5743d0ab73061798f1be
parented88075af89418d624117fa2a2a7143cbccec6c9
Fix misparsing of '&' in attributes with libxml2

For some reason libxml2 insists on re-escaping '&' characters
by substituting them with "&#38;". The rpm dependencies are
stored in attributes, so this is not an academic matter.

Undo the damage done by libxml2 by replacing all &#38; occurences
by a single '&'.
ext/solv_xmlparser.c
ext/solv_xmlparser.h