When will I learn :-/
rfc 2617 specifies TEXT as the username & password, I just had a nagging suspicion so I looked up the BNF definition for TEXT, which
excludes LWS.. Sorry Henrik for wasting time...
So Devin, the patches Henrik has mailed you should work, but be aware that the HTTP protocols do not allow spaces in usernames or
passwords.
Henrik, perhaps these should be covered by the http violations #define in configure?
Rob
----- Original Message -----
From: "Henrik Nordstrom" <hno@hem.passagen.se>
To: "Devin Teske" <devinteske@hotmail.com>
Cc: <squid-users@ircache.net>
Sent: Sunday, January 28, 2001 11:51 AM
Subject: Re: [SQU] Limitations
> Your problem is that Squid cannot correcly parse a config file with
> spaces in the user name.
>
> Attached is a small patch which should allow you to write the username
> using URL escaping syntax (%20 for space)
>
> login=first%20last-name:password
>
> --
> Henrik Nordstrom
> Squid hacker
>
>
> Devin Teske wrote:
> >
> > Hello,
> >
> > I'm hitting major limitations here with squid. The fact that it can't handle
> > usernames for an upstream proxy with spaces in it, that you can't set a
> > fallback authentication proxy, and the fact that you can't set up you users
> > in a database, is hampering my project.
> >
> > The only way I can see myself of getting over those limitations is if I knew
> > how to program in C++ and reprogram parts of squid and/or helper
> > applications.
> >
> > So, is there anything more powerful than squid (one preferrably that has
> > those features)? I need something! ((Delagate? Proxy Soft?))
> >
> > Thank you in advance,
> > Devin Teske
> > _________________________________________________________________
> > Get your FREE download of MSN Explorer at http://explorer.msn.com
> >
> > --
> > To unsubscribe, see http://www.squid-cache.org/mailing-lists.html
>
--------------------------------------------------------------------------------
> Index: cache_cf.c
> ===================================================================
> RCS file: /server/cvs-server/squid/squid/src/cache_cf.c,v
> retrieving revision 1.371
> diff -u -w -r1.371 cache_cf.c
> --- cache_cf.c 2001/01/25 23:01:56 1.371
> +++ cache_cf.c 2001/01/28 00:44:42
> @@ -1232,6 +1232,7 @@
> #endif
> } else if (!strncasecmp(token, "login=", 6)) {
> p->login = xstrdup(token + 6);
> + rfc1738_unescape(p->login);
> } else if (!strncasecmp(token, "connect-timeout=", 16)) {
> p->connect_timeout = atoi(token + 16);
> #if USE_CACHE_DIGESTS
>
-- To unsubscribe, see http://www.squid-cache.org/mailing-lists.htmlReceived on Sat Jan 27 2001 - 19:18:04 MST
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:57:37 MST