Re: [SQU] Perl authentication

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Sun, 28 Jan 2001 01:59:17 +0100

I have an old patch which changes the helper protocol to use URL escaped
strings.

See http://squid.sourceforge.net/hno/patch-devel.html
(in the merge conflicts section...)

/Henrik

Robert Collins wrote:
>
> Yes. See
> http://www.squid-cache.org/mail-archive/squid-users/200007/0491.html
>
> http://www.squid-cache.org/mail-archive/squid-users/200007/0495.html
>
> http://www.squid-cache.org/mail-archive/squid-users/200007/0496.html
>
> For a previous discussion.
>
> There used to be an example perl script on the squid-cache site, but I must be going blind :-]
>
> Quick points:
>
> 1. I've just checked the basic auth code, and I think you'll be able to get away with usernames with spaces within the squid code.
> (as long as the space is not at the end of the username).
> 2. Squid writes the user details as "username password\n" to the authenticator. If you expect to handle usernames with spaces, your
> perl authenticator will have to do some fancy checking to tell the difference between user=foo bar password=tux and user=foo
> password=bar tux. If you want to have squid delimit the usernames differently, say with a ':' then it's a quick edit in
> authenticate.c (for squid 2.3/2.4) in the funciton authenticateStart.

--
To unsubscribe, see http://www.squid-cache.org/mailing-lists.html
Received on Sat Jan 27 2001 - 18:08:23 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:57:37 MST