zonemaster / zonemaster-backend

The Zonemaster Backend - part of the Zonemaster project
Other
14 stars 23 forks source link

Adapt to changed Engine API #1143

Open mattias-p opened 10 months ago

mattias-p commented 10 months ago

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.

$ zmb start_domain_test --domain ' example.com '