On Aug 16, 2012, at 7:26 PM, Knut Forkalsrud wrote:

>>  <cookie-domain-regexp>[^.]*\.[^.]*$</cookie-domain-regexp>
>> 
>> Host: xxx.yyy.zzz.foo.com =  Set-Cookie domain: foo.com
>> Host: zzz.foo.com =  Set-Cookie domain: foo.com
>> Host: foo.com =  Set-Cookie domain: foo.com
>> Host: bar.com =  Set-Cookie domain: bar.com
> 
> Does that mean
> Host: foo.co.uk =  Set-Cookie domain: co.uk
> Host: bar.co.uk =  Set-Cookie domain: co.uk
> 
> Host: foo.com.au =  Set-Cookie domain: com.au
> Host: bar.com.au =  Set-Cookie domain: com.au

Well yes, but that was just an example.  

You can certainly craft a regexp that would work for these, such as 
"[^.]*\.[^.]*\.[^.]*$".

-Paul



> 
> That seems sub-optimal.
> 
> Regards,
> 
> Knut Forkalsrud
> 
> _______________________________________________
> resin-interest mailing list
> resin-interest@caucho.com
> http://maillist.caucho.com/mailman/listinfo/resin-interest

===============================
Paul Cowan, Software Engineer
Caucho Technology
co...@caucho.com
http://blog.caucho.com
http://twitter.com/cauchoresin

_______________________________________________
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest

Reply via email to