httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jerenkra...@apache.org
Subject svn commit: r151262 - in httpd/httpd/branches/2.0.x: CHANGES docs/cgi-examples/printenv docs/cgi-examples/test-cgi
Date Fri, 04 Feb 2005 00:02:27 GMT
Author: jerenkrantz
Date: Thu Feb  3 16:02:26 2005
New Revision: 151262

URL: http://svn.apache.org/viewcvs?view=rev&rev=151262
Log:
Add charset to the painfully old example CGI scripts.

MFC: 111580
Reviewed by: fielding, erikabele, jerenkrantz

Modified:
    httpd/httpd/branches/2.0.x/CHANGES
    httpd/httpd/branches/2.0.x/docs/cgi-examples/printenv
    httpd/httpd/branches/2.0.x/docs/cgi-examples/test-cgi

Modified: httpd/httpd/branches/2.0.x/CHANGES
URL: http://svn.apache.org/viewcvs/httpd/httpd/branches/2.0.x/CHANGES?view=diff&r1=151261&r2=151262
==============================================================================
--- httpd/httpd/branches/2.0.x/CHANGES (original)
+++ httpd/httpd/branches/2.0.x/CHANGES Thu Feb  3 16:02:26 2005
@@ -1,5 +1,7 @@
 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]
 

Modified: httpd/httpd/branches/2.0.x/docs/cgi-examples/printenv
URL: http://svn.apache.org/viewcvs/httpd/httpd/branches/2.0.x/docs/cgi-examples/printenv?view=diff&r1=151261&r2=151262
==============================================================================
--- httpd/httpd/branches/2.0.x/docs/cgi-examples/printenv (original)
+++ httpd/httpd/branches/2.0.x/docs/cgi-examples/printenv Thu Feb  3 16:02:26 2005
@@ -3,7 +3,7 @@
 ##  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;

Modified: httpd/httpd/branches/2.0.x/docs/cgi-examples/test-cgi
URL: http://svn.apache.org/viewcvs/httpd/httpd/branches/2.0.x/docs/cgi-examples/test-cgi?view=diff&r1=151261&r2=151262
==============================================================================
--- httpd/httpd/branches/2.0.x/docs/cgi-examples/test-cgi (original)
+++ httpd/httpd/branches/2.0.x/docs/cgi-examples/test-cgi Thu Feb  3 16:02:26 2005
@@ -3,7 +3,7 @@
 # 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:



Mime
View raw message