Getting so much comment SPAM and I mean nasty SPAM on the Lab’s site, that and I decided to try and stop it. First round was a simple “enter this number here”, verification. Next round is a full fledged “captcha“.

Discovered a nasty bug which looks related to Perl 5.8, SOAPLite, LDAP and UTF8. We have a SOAPLite SOAP RPC that connects to an LDAP server to do authentication. It looks like this combination of tools mangles the utf8 encoding of the parameters passed to the LDAP calls. managed to find a post on the SOAPLite list about this. The quick fix is to utf8::downgrade(yourparams).

Update:Working with on another LDAP related problem and found that you only need Perl + Net::LDAP to see the UTF8 weirdness. The error we were seeing was “IO::Error interrupted system call”. utf8::downgrade(yourparams) sill applies.