Re: cvs: qaweb / buildtest-process.php
| From: | Ilia A. | Date: | Mon, 16 Dec 2002 23:09:56 +0000 |
| Subject: | Re: cvs: qaweb / buildtest-process.php | ||
| References: | 1 | Groups: | php.qa |
| Request: | Send a blank email to php-qa+get-7299@lists.php.net to get a copy of this message | ||
Maybe instead of trashing the bug report, we could sent a portion (1st 90k) to
the list or split the message into 90k chunks so that the report could make
it through to the list in multiple-parts?
Ilia
On December 16, 2002 05:50 pm, jim winstead wrote:
> jimw Mon Dec 16 17:50:30 2002 EDT
>
> Modified files:
> /qaweb buildtest-process.php
> Log:
> don't even try to mail reports that are too big to make it through the
> list
>
>
> Index: qaweb/buildtest-process.php
> diff -u qaweb/buildtest-process.php:1.5 qaweb/buildtest-process.php:1.6
> --- qaweb/buildtest-process.php:1.5 Sun Oct 13 10:16:47 2002
> +++ qaweb/buildtest-process.php Mon Dec 16 17:50:30 2002
> @@ -1,6 +1,9 @@
> <?php
> if (isset($_POST['php_test_data'])) {
> + if (strlen($_POST['php_test_data']) > 90000) {
> + die("can't handle input that large.");
> + }
> mail ("php-qa@lists.php.net", "Test results",
> base64_decode(urldecode($_POST['php_test_data'])), "From:
> noreply@php.net"); }
> ?>
> -$Revision: 1.5 $
> +$Revision: 1.6 $