cvs: pearweb /public_html/bugs report.php /public_html/bugs/include functions.inc
| From: | Martin Jansen | Date: | Tue, 07 Oct 2003 14:04:31 +0000 |
| Subject: | cvs: pearweb /public_html/bugs report.php /public_html/bugs/include functions.inc | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-13462@lists.php.net to get a copy of this message | ||
mj Tue Oct 7 10:04:31 2003 EDT
Modified files:
/pearweb/public_html/bugs report.php
/pearweb/public_html/bugs/include functions.inc
Log:
* Using pear.php.net as the FQDN in the message IDs. Otherwise we might
possibly generate IDs that are already in use at bugs.php.net.
Index: pearweb/public_html/bugs/report.php
diff -u pearweb/public_html/bugs/report.php:1.8 pearweb/public_html/bugs/report.php:1.9
--- pearweb/public_html/bugs/report.php:1.8 Mon Oct 6 16:29:05 2003
+++ pearweb/public_html/bugs/report.php Tue Oct 7 10:04:30 2003
@@ -179,12 +179,12 @@
$extra_headers.= "X-PHP-Category: " . stripslashes($in['bug_type']) .
"\n";
$extra_headers.= "X-PHP-OS: " . stripslashes($in['php_os']) .
"\n";
$extra_headers.= "X-PHP-Status: Open\n";
- $extra_headers.= "Message-ID: <bug-$cid@bugs.php.net>";
+ $extra_headers.= "Message-ID: <bug-$cid@pear.php.net>";
// mail to package developers
mail($mailto, "[PEAR-BUG] #$cid [NEW]: $sdesc", $ascii_report."1\n--
\n$dev_extra", $extra_headers, "-fpear-sys@php.net");
// mail to reporter
- mail($email, "[PEAR-BUG] Bug #$cid: $sdesc", $ascii_report."2\n",
"From: PHP Bug Database <$mailfrom>\nX-PHP-Bug: $cid\nMessage-ID:
<bug-$cid@bugs.php.net>", "-fpear-sys@php.net");
+ mail($email, "[PEAR-BUG] Bug #$cid: $sdesc", $ascii_report."2\n",
"From: PHP Bug Database <$mailfrom>\nX-PHP-Bug: $cid\nMessage-ID:
<bug-$cid@pear.php.net>", "-fpear-sys@php.net");
header("Location: bug.php?id=$cid&thanks=4");
exit;
}
Index: pearweb/public_html/bugs/include/functions.inc
diff -u pearweb/public_html/bugs/include/functions.inc:1.7
pearweb/public_html/bugs/include/functions.inc:1.8
--- pearweb/public_html/bugs/include/functions.inc:1.7 Mon Oct 6 16:29:06 2003
+++ pearweb/public_html/bugs/include/functions.inc Tue Oct 7 10:04:31 2003
@@ -336,7 +336,7 @@
$user_text,
"From: PHP Bug Database <$mailfrom>\n".
"X-PHP-Bug: $bug[id]\n".
- "In-Reply-To: <bug-$bug[id]@bugs.php.net>",
+ "In-Reply-To: <bug-$bug[id]@pear.php.net>",
"-fbounces-ignored@php.net");
# but we go ahead and let the default sender get used for the list
@mail($mailto,
@@ -349,7 +349,7 @@
"X-PHP-OS: " . stripslashes((($edit != 3) ? $in['php_os']
: $bug['php_os'])) . "\n" .
"X-PHP-Status: " . stripslashes($new_status) . "\n" .
"X-PHP-Old-Status: " . stripslashes($old_status) . "\n" .
- "In-Reply-To: <bug-$bug[id]@bugs.php.net>",
+ "In-Reply-To: <bug-$bug[id]@pear.php.net>",
"-fpear-sys@php.net");
}
@@ -365,7 +365,7 @@
$dev_text,
"From: $from\n".
"X-PHP-Bug: $bug[id]\n".
- "In-Reply-To: <bug-$bug[id]@bugs.php.net>",
+ "In-Reply-To: <bug-$bug[id]@pear.php.net>",
"-fpear-sys@php.net");
}