Add punycode (IDN) support (#879)

This commit is contained in:
R. Daneel Olivaw
2021-03-16 14:37:05 -04:00
committed by GitHub
parent 4c19f95928
commit 46993e08c0
9 changed files with 78 additions and 28 deletions

View File

@@ -272,7 +272,8 @@ def api_login_delete_zone(domain_name):
if resp.status_code == 204:
current_app.logger.debug("Request to powerdns API successful")
history = History(msg='Delete domain {0}'.format(domain_name),
history = History(msg='Delete domain {0}'.format(
pretty_domain_name(domain_name)),
detail='',
created_by=current_user.username)
history.add()