We really don't have a recent perl on www, despite things I have read to
contrary.
This commit is contained in:
parent
86cde6aea6
commit
e76f60e1c6
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/www/; revision=28794
1 changed files with 2 additions and 2 deletions
|
|
@ -8,7 +8,7 @@
|
|||
# GNU General Public License Version 2.
|
||||
# (http://www.gnu.ai.mit.edu/copyleft/gpl.html)
|
||||
#
|
||||
# $FreeBSD: www/en/cgi/dosendpr.cgi,v 1.27 2006/10/07 18:08:04 ceri Exp $
|
||||
# $FreeBSD: www/en/cgi/dosendpr.cgi,v 1.28 2006/10/07 18:12:16 ceri Exp $
|
||||
|
||||
use Socket;
|
||||
use CGI qw/:standard/;
|
||||
|
|
@ -99,7 +99,7 @@ print header();
|
|||
if (!$submission_program) { &prerror("submit program problem"); }
|
||||
|
||||
if ($patchhandle = upload('patch')) {
|
||||
use bytes;
|
||||
# use bytes;
|
||||
unless (uploadInfo($patchhandle)->{'Content-Type'} =~ m!text/.*!) {
|
||||
&piloterror("Patch file has wrong content type");
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue