apache / incubator-ponymail-foal

Apache Pony Mail Foal (Next Generation Suite)
https://ponymail.apache.org
Apache License 2.0
23 stars 14 forks source link

mgmt API should check syntax of listid field #221

Closed sebbASF closed 2 years ago

sebbASF commented 2 years ago

At present the mgmt API only checks if the field attributes are present. The listid field can currently be changed to anything (including the empty string), which does not make sense. The new list-id should have the correct syntax, and probably ought to be one of the existing list ids. It's not possible to valid Subject or Body. Not sure it is worth syntax checking the Author (From).