#!/usr/bin/perl -w print "Content-type: text/html\n\n"; print "
Test for bug 30723: Input names added to multipart/form-data headers need to be escaped
"; print "";
if ($ENV{'REQUEST_METHOD'} eq "POST") {
read(STDIN, $request, $ENV{'CONTENT_LENGTH'})
|| die "Could not get query\n";
print $request;
} else {
print "Wrong method: " . $ENV{'REQUEST_METHOD'} . "\n";
}
print "\n";