Open mattias-p opened 10 months ago
This PR adapts Backend to the API change in zonemaster/zonemaster-engine#1316.
Should be merged together with zonemaster/zonemaster-engine#1316.
trim_space() is now invoked before normalize_name(). Prior to zonemaster/zonemaster-engine#1316 normalize_name() handled the space trimming itself.
You should still be able to include surrounding space in domain name parameters to RPCAPI calls.
$ zmb start_domain_test --domain ' example.com '
Purpose
This PR adapts Backend to the API change in zonemaster/zonemaster-engine#1316.
Context
Should be merged together with zonemaster/zonemaster-engine#1316.
Changes
trim_space() is now invoked before normalize_name(). Prior to zonemaster/zonemaster-engine#1316 normalize_name() handled the space trimming itself.
How to test this PR
You should still be able to include surrounding space in domain name parameters to RPCAPI calls.