Re: Deprecating URL passwords in cache_object://

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Fri, 03 Oct 2008 16:38:47 +1300

Mark Nottingham wrote:
> I'm thinking about adding some functionality to cache manager that
> requires passing it arguments, but the current format is getting in the
> way;
>
> t = sscanf(url, "cache_object://%[^/]/%[^@]@%s", host, request,
> password);
>
> AFAICT the @password suffix on the URL is deprecated; cachemgr.cgi and
> squidclient both now use Basic auth.
>
> What do folks think about removing support for @password in URLs?
>

I think we should be making it a standardized URI format same as HTTP,
but with a different protocol portion to identify.

That way the proper URI parse can be used and the special case tests
dropped.

Amos

-- 
Please use Squid 2.7.STABLE4 or 3.0.STABLE9
Received on Fri Oct 03 2008 - 03:39:05 MDT

This archive was generated by hypermail 2.2.0 : Fri Oct 03 2008 - 12:00:03 MDT