]> git.ipfire.org Git - thirdparty/samba.git/commit
samba-tool gpo: use a real XML parser to check entity validity
authorDouglas Bagnall <douglas.bagnall@catalyst.net.nz>
Wed, 19 Mar 2025 00:16:12 +0000 (13:16 +1300)
committerRalph Boehme <slow@samba.org>
Sat, 29 Mar 2025 07:23:43 +0000 (07:23 +0000)
commitc14e9e9121a5d123234c989a6998e6b225c83294
tree8782a5a8ca419297d454ab45e2304f72806f9e1b
parentea0c84b18ed5290c940de78a50dbd5664ab07ee7
samba-tool gpo: use a real XML parser to check entity validity

The expat parser comes with the Python standard library, so we can use
it to check the entities work, rather than relying on a fragile
regular expression.

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Ralph Boehme <slow@samba.org>
python/samba/netcmd/gpo.py