CC: | trs [...] bestpractical.com |
Subject: | charset applied to every content-type |
Successfully installed CGI.pm-3.50
$ perl -MCGI -le 'my $q = CGI->new; print $q->header("image/gif");'
Content-Type: image/gif
Successfully installed CGI.pm-3.52 (upgraded from 3.50)
$ perl -MCGI -le 'my $q = CGI->new; print $q->header("image/gif");'
Content-Type: image/gif; charset=ISO-8859-1
falcone@transom:~$ perl -v
This is perl 5, version 12, subversion 3 (v5.12.3) built for darwin-2level
serving the ISO-8859-1 on images seems.... wrong.
This actually fails for us on some application/javascript which wasn't forcing a charset, and I'll
fix that, but I'm not sure why CGI started adding that on between 3.50 and 3.51