]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
Update pdns/keyroller/pdnsapi/api.py 11983/head
authorCharles-Henri Bruyand <charleshenri.bruyand+github@gmail.com>
Wed, 28 Sep 2022 08:41:20 +0000 (10:41 +0200)
committerGitHub <noreply@github.com>
Wed, 28 Sep 2022 08:41:20 +0000 (10:41 +0200)
Co-authored-by: Peter van Dijk <peter.van.dijk@powerdns.com>
pdns/keyroller/pdnsapi/api.py

index 2bc4acd8ef43342eb07a0815ccdb46c12fe1dc1f..57401eebc338e2539372bed70beab8abe0e60459 100644 (file)
@@ -11,6 +11,7 @@ from pdnsapi.metadata import ZoneMetadata
 logger = logging.getLogger(__name__)
 
 
+# FIXME: clients should not be doing this escaping. We need to switch this to the appropriate zone ID lookup API.
 def _sanitize_dnsname(name):
     """
     Appends a dot to `name` if needed