Skip to content
Browse files

Add an x-beenthere header to exceptions to avoid endless loops on

exceptions.
  • Loading branch information...
1 parent a541651 commit 0a9efdf3b79c9ea0d8b765c91d83739915d0343c @KyleAMathews KyleAMathews committed Dec 16, 2010
Showing with 1 addition and 0 deletions.
  1. +1 −0 og_mailinglist_transport.inc
View
1 og_mailinglist_transport.inc
@@ -188,6 +188,7 @@ function _og_mailinglist_process_email($raw_email, $group_name) {
$head[] = 'From: ' . variable_get("og_mailinglist_noreply_email", t("no-reply@" . variable_get("og_mailinglist_server_string", $_SERVER['SERVER_NAME'])));
$head[] = 'References: ' . $email['headers']['message-id'];
$head[] = 'In-Reply-To: ' . $email['headers']['message-id'];
+ $head[] = 'X-BeenThere: ' . variable_get("og_mailinglist_server_string", $_SERVER['SERVER_NAME']);
$errormsg = $e->getMessage();
$msgdate = $email['headers']['date'];
$msgfrom = $email['headers']['from'];

0 comments on commit 0a9efdf

Please sign in to comment.
Something went wrong with that request. Please try again.