]> source.dussan.org Git - gitea.git/commit
Add warning to set SENDMAIL_ARGS to -- (#19102)
authorzeripath <art27@cantab.net>
Fri, 18 Mar 2022 14:19:02 +0000 (14:19 +0000)
committerGitHub <noreply@github.com>
Fri, 18 Mar 2022 14:19:02 +0000 (15:19 +0100)
commitfda5b9fc3e6dd831987979f37fe39f08963b875d
tree49fa8108d0a7e36a804c05649814fbb286841bbb
parent7fc5fd6415f92120811747681bcde9ed42825151
Add warning to set SENDMAIL_ARGS to --  (#19102)

Even with #17688 email addresses that contain an initial `-` may still be present in the db and it may in future still be possible to imagine a situation whereby initial `-` are repermitted.

This PR simply updates the documentation to warn users to set their SENDMAIL_ARGS with a terminal `--` to prevent this possibility email addresses being interpreted as options.

Signed-off-by: Andrew Thornton <art27@cantab.net>
custom/conf/app.example.ini
docs/content/doc/advanced/config-cheat-sheet.en-us.md
docs/content/doc/usage/email-setup.en-us.md