Closed ylobankov closed 2 years ago
This patch makes special XML characters be escaped in the provides, requires, and obsoletes sections to avoid the following error:
provides
requires
obsoletes
xml.etree.ElementTree.ParseError: not well-formed (invalid token)
Note, commit c8ca21f7 (rpm: fix xml.etree.ElementTree.ParseError issue) fixed the same issue but for the license section only.
license
Follows up #66
Seems logical for me. A few questions: Aren't you mind to add a unit test? Can you share a situation, where you met the problem? It is interesting to look at real valid values that requires escaping.
Seems logical for me.
A few questions:
This patch makes special XML characters be escaped in the
provides
,requires
, andobsoletes
sections to avoid the following error:Note, commit c8ca21f7 (rpm: fix xml.etree.ElementTree.ParseError issue) fixed the same issue but for the
license
section only.Follows up #66