Oops, fix generated messageid to include <>

This commit is contained in:
Magnus Hagander
2018-09-25 10:52:35 +02:00
parent a4efb719dc
commit 19fd2874d2

View File

@ -16,7 +16,7 @@ from pgweb.core.models import Version
from forms import SubmitBugForm
def _make_bugs_messageid(bugid):
return "{0}-{1}@postgresql.org".format(
return "<{0}-{1}@postgresql.org>".format(
bugid,
hashlib.md5("{0}-{1}".format(os.getpid(), time.time())).hexdigest()[:16],
)