r1816 - in trunk/varnish-cache: bin/varnishd include lib/libvcl

Poul-Henning Kamp phk at phk.freebsd.dk
Sat Aug 11 22:34:59 CEST 2007


In message <ujrr6mcihoa.fsf at false.linpro.no>, =?iso-8859-1?Q?Dag-Erling_Sm=F8rg
rav?= writes:
>"Poul-Henning Kamp" <phk at phk.freebsd.dk> writes:
>> The one thing about this scheme I'm not sure about is the use of '#'
>> as separator.  It's my impression that it occurs infrequently in the
>> relevant data (url, host, cookies &c) but it bothers me that it is
>> a commom comment character, but I worked hard to find an alternative.
>
>\001?

Yeah, only this might travel through the CLI a lot and a backslash 
isn't much fun quouting through scripts.

The other thing I thought about was a space character, as it is
neither legal in hostnames nor urls, but if people stick entire
HTTP lines into the hash, then it's a bad idea, and it requires
the regex to be quoted in the cli

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk at FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.



More information about the varnish-commit mailing list