Changeset 24385

Show
Ignore:
Timestamp:
11/20/08 08:15:34 (4 years ago)
Author:
drry
Message:
  • fixed the delimiter for the HTTP headers.
  • fixed an invalid name for the UTF-8 encoding.
  • fixed an HTML.
Files:
1 modified

Legend:

Unmodified
Added
Removed
  • lang/perl/misc/tgz2cgi/tgz2cgi.pl

    r24292 r24385  
    6262    print "HTTP/1.0 200 OK\r\n" 
    6363        if $use_nph; 
    64     print "Content-Type: text/html; charset=utf8\n\n"; 
     64    print "Content-Type: text/html; charset=utf-8\r\n\r\n"; 
    6565    print << "EOT"; 
     66<!DOCTYPE html> 
    6667<html> 
    6768<title>$title</title> 
    6869<body> 
    69 $start_msg 
    70 <pre style="margin: 1em; padding: 0.5em; border: 1px solid gray; width=80%; height=20em; overflow: scroll;"> 
     70<p>$start_msg</p> 
     71<pre style="margin: 1em; padding: 0.5em; border: 1px solid gray; width: 80%; height: 20em; overflow: scroll;"> 
    7172EOT 
    7273    ; 
     
    101102</pre> 
    102103$end_msg 
    103 <hr noshade height="1" /> 
    104 <i>The installer CGI was generated by tgz2.cgi.pl, written by <a href="http://labs.cybozu.co.jp/blog/kazuho/">Kazuho Oku</a> at <a href="http://labs.cybozu.co.jp/">Cybozu Labs, Inc.</a></i> 
     104<hr noshade height="1"> 
     105<p><em>The installer CGI was generated by tgz2cgi.pl, written by <a href="http://labs.cybozu.co.jp/blog/kazuho/">Kazuho Oku</a> at <a href="http://labs.cybozu.co.jp/">Cybozu Labs, Inc.</a></em></p> 
    105106</body> 
    106107</html>