Your message dated Sat, 11 Oct 2025 06:49:07 +0000
with message-id <[email protected]>
and subject line Bug#720841: fixed in drraw 2.2b2-5
has caused the Debian Bug report #720841,
regarding drraw: Use UTF-8 instead of the default ISO-8859-1
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
720841: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=720841
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: drraw
Version: 2.2b2-4
Severity: normal
Tags: upstream patch

Hello,

The Perl CGI module generates a HTTP header using "Content-Type:
text/html; charset=ISO-8859-1".
See -charset documented at 
http://perldoc.perl.org/CGI.html#CREATING-A-STANDARD-HTTP-HEADER:

The tool used to generates the graphics uses UTF-8 as the encoding of
the graphic title.

So drraw must also use UTF-8 to encode user texts.

The attached patch does just that.

-- System Information:
Debian Release: 7.1
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 3.2.0-4-686-pae (SMP w/2 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages drraw depends on:
ii  librrds-perl  1.4.7-2

Versions of packages drraw recommends:
ii  apache2                      2.2.22-13
ii  apache2-mpm-prefork [httpd]  2.2.22-13
ii  librcs-perl                  1.05-4

Versions of packages drraw suggests:
ii  collectd  5.1.0-3

-- Configuration Files:
/etc/drraw/drraw.conf changed:
use strict;
%datadirs = ('/var/lib/collectd/rrd/localhost'  => '[collectd localhost] ',
             '/var/lib/meteo/rrd' => '[Meteo] ',
            );
@rranames = ( 'MIN', 'AVERAGE', 'MAX', 'LAST' );
%rranames = ( 'MIN'    => 'Min',
              'AVERAGE' => 'Avg',
              'MAX'     => 'Max',
              'LAST'    => 'Last'
              );
$saved_dir = '/var/lib/drraw';
$tmp_dir = '/var/cache/drraw';
$clean_cache = 21600; # 6 hours
1;


-- no debconf information

-- debsums errors found:
debsums: changed file /usr/lib/cgi-bin/drraw/drraw.cgi (from drraw package)
--- drraw.cgi.orig	2012-06-21 21:35:50.000000000 +0200
+++ drraw.cgi	2013-08-25 16:57:55.000000000 +0200
@@ -627,7 +627,7 @@
     # The graph/template browser pages, by default.
     #
     print
-        header,
+        header(-charset=>'UTF-8'),
         start_html(-style=>{-code=>$CSS}, -title=>'drraw - '. $title),
         $header,
         h1({-class=>'title'}, a({-href=>&MakeURL}, $title));
@@ -788,7 +788,7 @@
             &TMPLFind($TemplatesById{param('Template')}{'Filter'},
                       $TemplatesById{param('Template')}{'Display'});
             print
-                header,
+                header(-charset=>'UTF-8'),
                 start_html({-style=>{-code=>$CSS}, -title=>'drraw - '
                                 . $TemplatesById{param('Template')}{'Name'}}),
                 $header,
@@ -808,7 +808,7 @@
         } elsif ( defined(param('Dashboard'))
                   && !defined($BoardsById{param('Dashboard')}) ) {
             print
-                header,
+                header(-charset=>'UTF-8'),
                 start_html({-style=>{-code=>$CSS}, -title=>'drraw - '. $title}),
                 $header,
                 h1('Invalid Request.'),
@@ -821,7 +821,7 @@
             &BoardFind(param('Dashboard'));
             if ( scalar(keys(%DBTMPL)) > 0 && !defined(param('Base')) ) {
                 print
-                    header,
+                    header(-charset=>'UTF-8'),
                     start_html({-style=>{-code=>$CSS}, -title=>'drraw - '
                             . $BoardsById{param('Dashboard')}{'Name'}}),
                     $header,
@@ -912,7 +912,7 @@
 
                 # Header
                 print
-                    header,
+                    header(-charset=>'UTF-8'),
                     start_html({-style=>{-code=>$CSS}, -title=>'drraw - '
                                     . $BoardsById{$board}{'Name'},
                                     -head=>meta({-http_equiv=>'Refresh',
@@ -1558,7 +1558,7 @@
                 || ( $level == 1
                      && $user ne $BoardsById{$1}{'Owner'} ) ) {
                 print
-                    header,
+                    header(-charset=>'UTF-8'),
                     start_html(-style=>{-code=>$CSS},
                                -title=>'drraw - '. $title),
                     $header,
@@ -1567,7 +1567,7 @@
             } else {
                 unlink "${saved_dir}/d" . $1; # Untaint
                 print
-                    header,
+                    header(-charset=>'UTF-8'),
                     start_html(-style=>{-code=>$CSS}, -title=>'drraw - '.$title,
                                -head=>meta({-http_equiv=>'refresh',
                                             -content=>'1;URL=' .
@@ -1580,7 +1580,7 @@
             }
         } else {
             print
-                header,
+                header(-charset=>'UTF-8'),
                 start_html(-style=>{-code=>$CSS}, -title=>'drraw - '. $title),
                 $header,
                 h1({-class=>'title'}, a({-href=>&MakeURL}, $title)),
@@ -1588,7 +1588,7 @@
         }
     } else {
         print
-            header,
+            header(-charset=>'UTF-8'),
             start_html(-style=>{-code=>$CSS}, -title=>'drraw - '. $title),
             $header,
             h1({-class=>'title'}, a({-href=>&MakeURL}, $title));
@@ -1725,7 +1725,7 @@
                 || ( $level == 1
                      && $user ne $GraphsById{$1}{'Owner'} ) ) {
                 print
-                    header,
+                    header(-charset=>'UTF-8'),
                     start_html(-style=>{-code=>$CSS},
                                -title=>'drraw - '. $title),
                     $header,
@@ -1734,7 +1734,7 @@
             } else {
                 unlink "${saved_dir}/g" . $1; # Untaint
                 print
-                    header,
+                    header(-charset=>'UTF-8'),
                     start_html(-style=>{-code=>$CSS}, -title=>'drraw - '.$title,
                                -head=>meta({-http_equiv=>'refresh',
                                             -content=>'1;URL=' .
@@ -1751,7 +1751,7 @@
                 || ( $level == 1
                      && $user ne $TemplatesById{$1}{'Owner'} ) ){
                 print
-                    header,
+                    header(-charset=>'UTF-8'),
                     start_html(-style=>{-code=>$CSS},
                                -title=>'drraw - '. $title),
                     $header,
@@ -1760,7 +1760,7 @@
             } else {
                 unlink "${saved_dir}/t" . $1;
                 print
-                    header,
+                    header(-charset=>'UTF-8'),
                     start_html(-style=>{-code=>$CSS}, -title=>'drraw - '.$title,
                                -head=>meta({-http_equiv=>'refresh',
                                             -content=>'1;URL=' .
@@ -1773,7 +1773,7 @@
             }
         } else {
             print
-                header,
+                header(-charset=>'UTF-8'),
                 start_html(-style=>{-code=>$CSS}, -title=>'drraw - '. $title),
                 $header,
                 h1({-class=>'title'}, a({-href=>&MakeURL}, $title)),
@@ -1781,7 +1781,7 @@
         }
     } else {
         print
-            header,
+            header(-charset=>'UTF-8'),
             start_html(-style=>{-code=>$CSS}, -title=>'drraw - '. $title),
             $header,
             h1({-class=>'title'}, a({-href=>&MakeURL}, $title));
@@ -3805,6 +3805,7 @@
         } else {
             $out = '-';
             print header(-type=>$Mime{param('gFormat')},
+                         -charset=>'UTF-8',
                          -expires=>'+'. $ttl .'s',
                          -last_modified=>&time2str());
         }
@@ -3852,11 +3853,13 @@
         if ( !defined($ENV{'HTTP_IF_MODIFIED_SINCE'})
              || $ENV{'HTTP_IF_MODIFIED_SINCE'} ne $lm ) {
             print header(-type=>$Mime{param('gFormat')},
+                         -charset=>'UTF-8',
                          -expires=>&time2str($out), -last_modified=>$lm);
             while (<IMG>) { print; };
         } else {
             # Apache would do this for us, but why bother sending the data?
             print header(-status=>'304',
+                         -charset=>'UTF-8',
                          -type=>$Mime{param('gFormat')},
                          -expires=>&time2str($out), -last_modified=>$lm);
         }

--- End Message ---
--- Begin Message ---
Source: drraw
Source-Version: 2.2b2-5
Done: Andreas Tille <[email protected]>

We believe that the bug you reported is fixed in the latest version of
drraw, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Andreas Tille <[email protected]> (supplier of updated drraw package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Wed, 01 Oct 2025 07:58:01 +0200
Source: drraw
Architecture: source
Version: 2.2b2-5
Distribution: unstable
Urgency: medium
Maintainer: Package Salvaging Team <[email protected]>
Changed-By: Andreas Tille <[email protected]>
Closes: 629118 699822 719019 720841 786752 1114820
Changes:
 drraw (2.2b2-5) unstable; urgency=medium
 .
   [ Andreas Tille ]
   * Maintain package in Salvage team
     Closes: #1114820
   * Point Homepage to Webarchive
   * Fake watch file since upstream site vanished
   * Standards-Version: 4.7.2 (routine-update)
   * debhelper-compat 13 (routine-update)
   * Remove trailing whitespace in debian/copyright (routine-update)
   * d/copyright: DEP5
 .
   [ Ludovic Rousseau ]
   * Suppress warnings filling up Apache error log
     Closes: #786752
   * Use UTF-8 instead of the default ISO-8859-1
     Closes: #720841
   * Fix old Perl syntax
     Closes: #719019
 .
   [ Ivan Shmakov ]
   * Permit local user configuration
     Closes: #629118
 .
   [ Christopher Odenbach ]
   * Enable working with only one datasource
     Closes: #699822
Checksums-Sha1:
 ecc6839e283cb1d2be3916430e18c5626e07c286 1983 drraw_2.2b2-5.dsc
 1de825f88c7f13681c327835fcc5dc9ae59c6ef1 7408 drraw_2.2b2-5.debian.tar.xz
 25ca50ac3cbc309de929acadfed63a8415213e4c 5445 drraw_2.2b2-5_amd64.buildinfo
Checksums-Sha256:
 fab4100d76638faeb8f39e7e39aa0fc9a56a41b828bfce004d36e5c9556ef9b0 1983 
drraw_2.2b2-5.dsc
 fb7dffe009b157f6baaa1dc1837589a91ac30bb1d4db24a4e708f841bb85033f 7408 
drraw_2.2b2-5.debian.tar.xz
 bb80a6e6dbb3e1aad2053fd565c8259d8b02684840b75916e153f64ca99a04a2 5445 
drraw_2.2b2-5_amd64.buildinfo
Files:
 a67af3e9119aca0b2db590644cd7e03f 1983 web optional drraw_2.2b2-5.dsc
 1ab6613dd83b3474fed450ce5b0126ea 7408 web optional drraw_2.2b2-5.debian.tar.xz
 365ee7b422146a99e6ad824b94ca5254 5445 web optional 
drraw_2.2b2-5_amd64.buildinfo

-----BEGIN PGP SIGNATURE-----

iQJFBAEBCgAvFiEE8fAHMgoDVUHwpmPKV4oElNHGRtEFAmjcw5kRHHRpbGxlQGRl
Ymlhbi5vcmcACgkQV4oElNHGRtFxDA/+OrH/rZ0FSCVpS3sGrrHURsGlq2vXM4nh
l6KvYE300tn3dKLK8GSYuGxufRxfYLrDFb7RfuO39JncCNTuvhQDkWLjCdy9R07f
ANpzRGS92AIJH7Q+x/NgvdKjvs27MHAzzcK+49iZv2ZCwdU3dY+qNchBTLRDZ3f4
eucTrCZP+HPwhKAoJtLgge6ltT1aa0zSdkcVUTklGM6nfVUf8gixPyDeLAQW+liH
fobQQ9Ire4XJXKj4KM5TkIxhvBG/+mLQizCgWWzjOeIAMpkKnUXAqU5kfq5CK5nb
kOaNSZ6tWH+nZ2p1wnWW1oBP0MAwu2Z4uDJ64tSSeannJBa66LbMRKtidboa6aY9
Tf6ihIKm3svwp3PyFKsjTG50dGekzJ14lyfDUubU3zy6PKLoQKD6Fdsem5qzdUfE
rL4vNLWBTtyE+hySZTDae9eJsT+5auF4XdenGdloqdcfvyhIqx9MsdLoYu6IDnTu
HJ59IWHCJBv2BCjelqnTmtVAcIwEMQo4N1fykAl48/n/O7C4RqHWgrh9FzWW0oHW
7Se1TpyF4RRDlxPjzIVDmFrLGgv1pjiqAaKCjHphFbOVJWsyhJDTRaYF2gsjGOHP
yULElW6dTb1dKoeQotj4Vt1fG5aDf2HfHhK8CeqMURD0pR/cLpwg6NuUQBRxF+AT
dwr3ziftdyg=
=eBe2
-----END PGP SIGNATURE-----

Attachment: pgpYIIeed6cPs.pgp
Description: PGP signature


--- End Message ---

Reply via email to