On Fri, 12 Dec 2003, Frank Fegert wrote: > Though i'm not a C wizard, i had a look at squid_ldap_auth.c, > but couldn't find any character escaping and/or UTF8 conversion. > Hence the question, is the character escaping and/or UTF8 > conversion done in the OpenLDAP functions/libraries, or has > this to be provided by the squid_ldap_auth helper?
It is the responsibility of the helper to translate whatever format was sent by the browser to whatever format is expected by the backend used by the helper. Unfortunately the specifications on all parts are very vague on what happens on non-ascii characters so it is a bit of a mess currently. For example some browsers send you the data encoded in their local code page, some send it in UTF8. If you find a reasonable way to deal with this then I would be very glad to know. Even better if you patch up squid_ldap_auth to do it "correcly". Regards Henrik
