- Updated perl-XML-Twig-CVE-2016-9180.patch
- updated to 3.540.0 (3.54)
see /usr/share/doc/packages/perl-XML-Twig/Changes
3.54 2025-06-11 minor maintenance release
- changed the minimum version of Perl to 5.10
That should be old enough: "On December 18, 2007, the 20th
anniversary of Perl 1.0, Perl 5.10. 0 was released."
- fixed the "build" system
moved .pm files in the usual place for CPAN modules (lib/)
used PM_FILTER in Makefile.PL to inline some method calls
thanks to Daniel Macks for having a look at this and suggesting most
of the improvements
- fixed del_atts/set_att broke keep_atts_order
see https://stackoverflow.com/questions/79369132
- fixed #TEXT handlers not being called when set using setTwigHandlers
see https://github.com/mirod/xmltwig/issues/36
and fixed bugs in triggering #TEXT handlers in mixed content
- fixed test special casing "SA" PERL_UNICODE instead of looking for
S and A in the variable
see https://github.com/mirod/xmltwig/issues/32
- fixed docs for comment processing
see https://github.com/mirod/xmltwig/issues/31
- documentation cleanup
thanks to chrispitude for the massive cleanup in
https://github.com/mirod/xmltwig/pull/34
and to zostay and asb-capfan for finding typos in
https://github.com/mirod/xmltwig/pull/29 and
https://github.com/mirod/xmltwig/pull/33
- improved strip_att to allow more than 1 attribute to be stripped
thanks to chrispitude for https://github.com/mirod/xmltwig/pull/37
- added HTML style aliases for positions for paste and insert_new_elt
beforebegin for before
afterbegin for first_child
beforeend for last_child
afterend for after
- improved insert_new_elt to allow for the element to insert to be
a well-formed XML string, similar to insertAdjacentHTML in js
OBS-URL: https://build.opensuse.org/request/show/1284908
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-XML-Twig?expand=0&rev=45
- Security fix [bsc#1008644, CVE-2016-9180]
* Setting expand_external_ents to 0 or -1 currently doesn't work
as expected; To completely turn off expanding external entities
use no_xxe.
* Update documentation for XML::Twig to mention problems with
expand_external_ents and add information about new no_xxe argument
* Add test CVE-2016-9180.t
* Add test build-requirements:
perl-Test-Exception, perl-Text-Iconv, perl-Unicode-Map8
- Add perl-XML-Twig-CVE-2016-9180.patch
OBS-URL: https://build.opensuse.org/request/show/821143
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-XML-Twig?expand=0&rev=37