Commit: 52ca10670a06718cee3d44941934d47cd2f72ea8 Author: v-maf...@microsoft.com <v-maf...@microsoft.com> Mon, 24 Mar 2014 12:14:17 -0700 Parents: af6891a4a890156e301cec4be2da2a77f889e98a Branches: master
Link: http://git.php.net/?p=web/qa.git;a=commitdiff;h=52ca10670a06718cee3d44941934d47cd2f72ea8 Log: Increasing PFTT Report size limit Changed paths: M pftt_report.php Diff: diff --git a/pftt_report.php b/pftt_report.php index 3f9a080..96ad1cf 100755 --- a/pftt_report.php +++ b/pftt_report.php @@ -65,7 +65,8 @@ if ((strpos($revision, ".")===FALSE and substr($revision, 0, 1)!="r") or strlen( } // validate report_file -if ($_FILES['report_file']['size'] > 100000 or $_FILES['report_file']['size'] < 100 ) { +if ($_FILES['report_file']['size'] > 600000 or $_FILES['report_file']['size'] < 100 ) { + // some PhpUnit reports can be quite large exit_error('Invalid report file size'); } else if ($_FILES['report_file']['type']!="text/html") { exit_error('Invalid report type'); -- PHP Quality Assurance Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php