]> bicyclesonthemoon.info Git - ott/bsta/blobdiff - info.1.pl
character encoding information in generated headers; password in eval_bb()
[ott/bsta] / info.1.pl
index 94cba163af9c6e8fe1a83bd9f046f399932b2481..d712acb212c0df448e5b4a94bd3832348baee182 100644 (file)
--- a/info.1.pl
+++ b/info.1.pl
@@ -193,7 +193,7 @@ else {
                        $state{'ip3'} = 1;
                }
        }
-       print "Content-type: text/plain\n\n";
+       print "Content-type: text/plain; charset=UTF-8\n\n";
        if ($method eq 'HEAD') {
                exit;
        }
@@ -247,7 +247,7 @@ if (
        $info_data{'frame'} = sprintf($settings{'frame'}, $frame, $info_data{'ext'});
 }
 
-print "Content-type: text/plain\n";
+print "Content-type: text/plain; charset=UTF-8\n";
 if (!$access) {
        print "Status: 403 Forbidden\n";
 }