Re: cvs: qaweb / buildtest-process.php
| From: | Xavier Spriet | Date: | Mon, 16 Dec 2002 22:55:24 +0000 |
| Subject: | Re: cvs: qaweb / buildtest-process.php | ||
| References: | 1 | Groups: | php.qa |
| Request: | Send a blank email to php-qa+get-7297@lists.php.net to get a copy of this message | ||
Great idea :)
Thanks.
Xavier.
On Mon, 2002-12-16 at 17:50, 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 $
--
Xavier Spriet <xavier@wuug.org>
Windsor Unix Users Group