---------- Forwarded message ---------- Date: Fri, 19 Apr 2002 17:07:18 +0100 From: "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> To: R.I.P. Deaddog <[EMAIL PROTECTED]> Subject: Re: Validating cookie domains
On 19/04/2002 16:58:45 maddog wrote: >On Fri, 19 Apr 2002, Ian Abbott wrote: > >> It seems to make more sense if you subtract one from the number of >> periods. >> >> > It means that `www.arsdigita.de' cannot set >> > the cookie for `arsdigita.de'. To make *that* work, you'd have to >> > maintain a database of domains that use ".co.xxx" convention, as >> > opposed to those that use just ".xxx". >> >> Could you assume that all two-letter TLDs are country-code TLDs and >> require one more period than other TLDs (which are presumably at >> least three characters long)? > >Almost always true. There are i.am, come.to etc, but probably >ALL of them are forwarders (except cr.yp.to)... > <PEDANT> .to , .cx, .tv *ARE* ccTLDs </PEDANT> Ask anybody in Tonga, Christmas Islands, or Tuvalu :-) It's a ccTLD, even though all webservers return status 302 "Moved permanently" :-) -- Csaba R�duly, Software Engineer Sophos Anti-Virus email: [EMAIL PROTECTED] http://www.sophos.com US Support: +1 888 SOPHOS 9 UK Support: +44 1235 559933
