You've already forked Mailu
mirror of
https://github.com/Mailu/Mailu.git
synced 2025-11-29 22:37:58 +02:00
Handle relay name as an Idna domain
This commit is contained in:
@@ -208,7 +208,7 @@ class Relay(Base):
|
||||
|
||||
__tablename__ = "relay"
|
||||
|
||||
name = db.Column(db.String(80), primary_key=True, nullable=False)
|
||||
name = db.Column(IdnaDomain, primary_key=True, nullable=False)
|
||||
smtp = db.Column(db.String(80), nullable=True)
|
||||
|
||||
def __str__(self):
|
||||
|
||||
Reference in New Issue
Block a user