mirror of
https://github.com/Mailu/Mailu.git
synced 2025-01-18 03:21:36 +02:00
Fix the bug @ghost has reported
This commit is contained in:
parent
50f8a5cb65
commit
15569c62df
@ -125,6 +125,8 @@ def postfix_sender_map(sender):
|
||||
|
||||
This is for bounces to come back the reverse path properly.
|
||||
"""
|
||||
if sender.count('@') > 1 or sender.startswith('"'):
|
||||
return flask.abort(404)
|
||||
srs = srslib.SRS(flask.current_app.srs_key)
|
||||
domain = flask.current_app.config["DOMAIN"]
|
||||
try:
|
||||
|
Loading…
Reference in New Issue
Block a user