Re: [squid-users] Help with failed authentications with special characters

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Wed, 19 Nov 2003 15:18:03 +0100 (CET)

On Wed, 19 Nov 2003, Frank W. Belfie II wrote:

> Has anyone completed this as of yet? Should I just use a perl module or the
> like, since the whole script is in perl?

This is how it is done in the multi-domain-NTLM/smb_auth.pl perl
script shipped with Squid:

        $user =~ s/%([0-9a-f][0-9a-f])/pack("H2",$1)/gie;
        $pass =~ s/%([0-9a-f][0-9a-f])/pack("H2",$1)/gie;

Regards
Henrik
Received on Wed Nov 19 2003 - 07:18:07 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:21:23 MST