]> source.dussan.org Git - gitea.git/commit
Add support for extra sendmail arguments (#2731)
authorJonas Bröms <cez81@users.noreply.github.com>
Wed, 25 Oct 2017 19:27:25 +0000 (21:27 +0200)
committerLauris BH <lauris@nix.lv>
Wed, 25 Oct 2017 19:27:25 +0000 (22:27 +0300)
commite86a0bf3feab82c1b3439806245083dffb2f37c9
tree8c47d111db8214dbbf3c291a43ad5793a49874b2
parent3af5b67ed030f84c7269d091add9e476537d30d7
Add support for extra sendmail arguments (#2731)

* Add support for extra sendmail arguments

* Sendmail args to exec.command should be a list

* Add go-shellquote package

* Use go-shellquote lib for parsing Sendmail args

* Only parse if sendmail is configured
conf/app.ini
modules/mailer/mailer.go
modules/setting/setting.go
vendor/github.com/kballard/go-shellquote/LICENSE [new file with mode: 0644]
vendor/github.com/kballard/go-shellquote/README [new file with mode: 0644]
vendor/github.com/kballard/go-shellquote/doc.go [new file with mode: 0644]
vendor/github.com/kballard/go-shellquote/quote.go [new file with mode: 0644]
vendor/github.com/kballard/go-shellquote/unquote.go [new file with mode: 0644]
vendor/vendor.json