projects
/
virtual-ldap
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
42e24b3
)
cleanup all encoding cruft since Koha mungles data
author
Dobrica Pavlinusic
<dpavlin@rot13.org>
Tue, 17 Mar 2009 10:59:31 +0000
(10:59 +0000)
committer
Dobrica Pavlinusic
<dpavlin@rot13.org>
Tue, 17 Mar 2009 10:59:31 +0000
(10:59 +0000)
bin/ldap-rewrite.pl
patch
|
blob
|
history
diff --git
a/bin/ldap-rewrite.pl
b/bin/ldap-rewrite.pl
index
db97950
..
dd781c8
100755
(executable)
--- a/
bin/ldap-rewrite.pl
+++ b/
bin/ldap-rewrite.pl
@@
-170,8
+170,6
@@
sub run_proxy {
}
}
-$ENV{LANG} = 'C'; # so we don't double-encode utf-8 if LANG is utf-8
-
my $listenersock = IO::Socket::INET->new(
Listen => 5,
Proto => 'tcp',
my $listenersock = IO::Socket::INET->new(
Listen => 5,
Proto => 'tcp',
@@
-189,9
+187,6
@@
my $targetsock = $config->{upstream_ssl}
: IO::Socket::SSL->new( $config->{upstream_ldap} . ':ldaps')
|| die "can't open upstream socket: $!";
: IO::Socket::SSL->new( $config->{upstream_ldap} . ':ldaps')
|| die "can't open upstream socket: $!";
-binmode( $listenersock );
-binmode( $targetsock );
-
run_proxy($listenersock,$targetsock);
1;
run_proxy($listenersock,$targetsock);
1;