cvs: qaweb / buildtest-process.php
| From: | jim winstead | Date: | Mon, 16 Dec 2002 22:50:30 +0000 |
| Subject: | cvs: qaweb / buildtest-process.php | ||
| Groups: | php.qa | ||
| Request: | Send a blank email to php-qa+get-7296@lists.php.net to get a copy of this message | ||
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 $