ud-mailgate: remove exception for münchen.debian.net master
authorJulien Cristau <jcristau@debian.org>
Tue, 8 Oct 2019 18:09:12 +0000 (20:09 +0200)
committerJulien Cristau <jcristau@debian.org>
Tue, 8 Oct 2019 18:09:12 +0000 (20:09 +0200)
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

index baaf08a..30af583 100755 (executable)
@@ -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