mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
Remove Reply-To header from package request emails
These notification emails are sent to a public mailing list for discussion. Make sure that people can reply. Reported-by: Florian Pritz <bluewind@xinu.at> Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
This commit is contained in:
parent
61939d1ed7
commit
4186e42a39
1 changed files with 2 additions and 4 deletions
|
@ -108,8 +108,7 @@ function pkgreq_file($ids, $type, $merge_into, $comments) {
|
||||||
$headers .= "Bcc: $bcc\r\n";
|
$headers .= "Bcc: $bcc\r\n";
|
||||||
}
|
}
|
||||||
$thread_id = "<pkg-request-" . $request_id . "@aur.archlinux.org>";
|
$thread_id = "<pkg-request-" . $request_id . "@aur.archlinux.org>";
|
||||||
$headers .= "Reply-to: noreply@aur.archlinux.org\r\n" .
|
$headers .= "From: notify@aur.archlinux.org\r\n" .
|
||||||
"From: notify@aur.archlinux.org\r\n" .
|
|
||||||
"In-Reply-To: $thread_id\r\n" .
|
"In-Reply-To: $thread_id\r\n" .
|
||||||
"References: $thread_id\r\n" .
|
"References: $thread_id\r\n" .
|
||||||
"X-Mailer: AUR";
|
"X-Mailer: AUR";
|
||||||
|
@ -179,8 +178,7 @@ function pkgreq_close($id, $accepted) {
|
||||||
$headers .= "Bcc: $bcc\r\n";
|
$headers .= "Bcc: $bcc\r\n";
|
||||||
}
|
}
|
||||||
$thread_id = "<pkg-request-" . $id . "@aur.archlinux.org>";
|
$thread_id = "<pkg-request-" . $id . "@aur.archlinux.org>";
|
||||||
$headers .= "Reply-to: noreply@aur.archlinux.org\r\n" .
|
$headers .= "From: notify@aur.archlinux.org\r\n" .
|
||||||
"From: notify@aur.archlinux.org\r\n" .
|
|
||||||
"In-Reply-To: $thread_id\r\n" .
|
"In-Reply-To: $thread_id\r\n" .
|
||||||
"References: $thread_id\r\n" .
|
"References: $thread_id\r\n" .
|
||||||
"X-Mailer: AUR";
|
"X-Mailer: AUR";
|
||||||
|
|
Loading…
Add table
Reference in a new issue