Skip to content
Snippets Groups Projects
Commit 6a1f928f authored by Andreas Gohr's avatar Andreas Gohr
Browse files

do not expose version in outgoing mails FS#2701

parent 62147bf8
No related branches found
No related tags found
No related merge requests found
......@@ -51,7 +51,7 @@ class Mailer {
$this->allowhtml = (bool)$conf['htmlmail'];
// add some default headers for mailfiltering FS#2247
$this->setHeader('X-Mailer', 'DokuWiki '.getVersion());
$this->setHeader('X-Mailer', 'DokuWiki');
$this->setHeader('X-DokuWiki-User', $_SERVER['REMOTE_USER']);
$this->setHeader('X-DokuWiki-Title', $conf['title']);
$this->setHeader('X-DokuWiki-Server', $server);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment