projects
/
mirror
/
userdir-ldap-cgi.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
It's a utf-8 world
[mirror/userdir-ldap-cgi.git]
/
login.cgi
diff --git
a/login.cgi
b/login.cgi
index
0058aa9
..
1e04ef4
100755
(executable)
--- a/
login.cgi
+++ b/
login.cgi
@@
-1,6
+1,6
@@
#!/usr/bin/perl
#!/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. <tausq@debian.org>
use lib '.';
# (c) 1999 Randolph Chung. Licensed under the GPL. <tausq@debian.org>
use lib '.';
@@
-68,7
+68,7
@@
if ($mesg->code == LDAP_SUCCESS) {
$ldap->unbind;
} else {
$ldap->unbind;
} else {
- print "Content-type: text/html\n\n";
+ print "Content-type: text/html
; charset=utf-8
\n\n";
print "<html><body><h1>Not authenticated</h1></body></html>\n";
}
print "<html><body><h1>Not authenticated</h1></body></html>\n";
}