+AddType application/vnd.symbian.install .sis
[www.jankratochvil.net.git] / project / ChangeLog.pm
index 47d2bd4..cfef9a5 100755 (executable)
@@ -26,7 +26,8 @@ use warnings;
 use My::Web;
 
 
-our $HTML_TEST=0;
+our $HTML_TEST="download";
+our $HTML_TEST_QUERY_STRING="cvs=MyWeb";
 
 sub handler
 {
@@ -35,10 +36,12 @@ my $W=My::Web->init(
                "args_check"=>{
                                "cvs"=>'^[\w\d][\w\d/.]*$',
                                },
+               "content_type"=>"text/plain",
+               "http_safe"=>0, # cvs(1) downloads.
                );
+My::Web->heading();
 
 
-$W->{"r"}->content_type("text/plain");
 local *F;
 open F,""
                ."cvs -n -q -d ".$W->{"pserver"}.":".$W->{"pserver_path"}." rlog ".$W->{"args"}{"cvs"}
@@ -49,6 +52,6 @@ print $_ while <F>;
 close F;
 
 
-exit 0;
+exit;
 }
 1;