Changeset 46


Ignore:
Timestamp:
12/08/14 17:44:07 (9 years ago)
Author:
Kris Deugau
Message:

/trunk/dnsbl

Replace the simple HTTP header output with a "proper" one using
CGI::Simple's ->header() method, in the hopes of fixing whatever stupid is
happening on Debian with non-US-ASCII orgnames. Still needs a swift kick
somewhere I haven't found yet.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dnsbl/dnsbl.cgi

    r45 r46  
    4141my $dnsbl = new DNSBL;
    4242
    43 print "Content-type: text/html\n\n";
     43# try to be friendly to non-US-ASCII characters.  Still need to find what
     44# difference from RH<->Debian is still at fault.
     45print $q->header(-charset=>'utf8');
    4446
    4547# default DB info - all other settings should be loaded from the DB.
Note: See TracChangeset for help on using the changeset viewer.