From 3bc2a035df1f49ad33fb46a0990292fdcf300139 Mon Sep 17 00:00:00 2001 From: Julien Cristau Date: Tue, 8 Oct 2019 20:09:12 +0200 Subject: [PATCH] =?utf8?q?ud-mailgate:=20remove=20exception=20for=20m?= =?utf8?q?=C3=BCnchen.debian.net?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit 19:58 < aba> weasel: I'm happy with removing the münchen.debian.net if this helps DSA (and further xn-- are blocked), this is just the same redirect as muenchen.d.n --- ud-mailgate | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ud-mailgate b/ud-mailgate index baaf08a..30af583 100755 --- a/ud-mailgate +++ b/ud-mailgate @@ -372,7 +372,7 @@ def DoDNS(Str, Attrs, DnRecord): return None # Check for punycode. We ought to validate it before we allow it in our zone. - if Str.lower().startswith('xn--') and Str.lower() != 'xn--mnchen-3ya': + if Str.lower().startswith('xn--'): return "Punycode not allowed: " + Str # Check if the name is already taken -- 2.20.1