X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=login.cgi;fp=login.cgi;h=1e04ef48e5f513befb9e5c10f1b5c6e407dfbb05;hb=e8250d78d091445fbd422fed5d3ae9ab2516eada;hp=0058aa9f9c25f68e98cdcad310c0f9dc48bc68e5;hpb=2b3d1497419d64cac46d90e9e386f23e53ac2752;p=mirror%2Fuserdir-ldap-cgi.git diff --git a/login.cgi b/login.cgi index 0058aa9..1e04ef4 100755 --- a/login.cgi +++ b/login.cgi @@ -1,6 +1,6 @@ #!/usr/bin/perl -# $Id: login.cgi,v 1.8 2003/03/13 04:25:56 rmurray Exp $ +# $Id: login.cgi,v 1.9 2006/06/27 04:37:45 rmurray Exp $ # (c) 1999 Randolph Chung. Licensed under the GPL. use lib '.'; @@ -68,7 +68,7 @@ if ($mesg->code == LDAP_SUCCESS) { $ldap->unbind; } else { - print "Content-type: text/html\n\n"; + print "Content-type: text/html; charset=utf-8\n\n"; print "

Not authenticated

\n"; }