Browse Source

* added missing post decoding of latin-1 date

svn path=/trunk/; revision=16784
tags/stw2018
e-user 9 years ago
parent
commit
36f9794452
2 changed files with 3 additions and 0 deletions
  1. 1
    0
      Makefile.PL
  2. 2
    0
      cgi-bin/pdfcontest.pl

+ 1
- 0
Makefile.PL View File

@@ -20,6 +20,7 @@ my %att = (
'CGI' => 0,
'Cwd' => 0,
'DateTime' => 0, # Tested with 0.53
'Encode' => 0, # Tested with 2.35
'Fcntl' => 0,
'File::Basename' => 0,
'File::Copy' => 0,

+ 2
- 0
cgi-bin/pdfcontest.pl View File

@@ -21,6 +21,7 @@ use lib "$root/tools";

use CGI;
use DateTime;
use Encode qw (decode);
use Template;
use WebBuild::FormValidation;
use WebBuild::DynamicContent;
@@ -75,6 +76,7 @@ my $data = { institution_name => $query->param ('institution-name'),
contact => $query->param ('contact') };

$template->process ('pdfreaders-mail.tt2', $data, \$mail);
$mail = decode ('iso-8859-1', $mail); # This must match the encoding of the website!

open MAIL, "|/usr/lib/sendmail -t -f web\@fsfeurope.org";
print MAIL $mail;

Loading…
Cancel
Save