MFC: 111580
Reviewed by: fielding, erikabele, jerenkrantz
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.0.x@151262
13f79535-47bb-0310-9956-
ffa450edef68
Changes with Apache 2.0.53
+ *) Add charset to example CGI scripts. [Roy Fielding]
+
*) mod_ssl: fail quickly if SSL connection is aborted rather than
making many doomed ap_pass_brigade calls. PR 32699. [Joe Orton]
## printenv -- demo CGI program which just prints its environment
##
-print "Content-type: text/plain\n\n";
+print "Content-type: text/plain; charset=iso-8859-1\n\n";
foreach $var (sort(keys(%ENV))) {
$val = $ENV{$var};
$val =~ s|\n|\\n|g;
# disable filename globbing
set -f
-echo Content-type: text/plain
+echo "Content-type: text/plain; charset=iso-8859-1"
echo
echo CGI/1.0 test script report: