wininet: Implement IsDomainLegalCookieDomainW.

Hans Leidekker hans at codeweavers.com
Thu Jan 29 11:18:24 CST 2009


On Thursday 29 January 2009 17:51:26 Juan Lang wrote:

> > No, we should have a warning because the algorithm is unknown and the
> > tests are not exhaustive.
> 
> Fair enough.  This is an implementation of the same origin policy,
> yes?  Wikipedia provides some interesting examples, for instance,
> having different port numbers in the same domain can cause a mismatch:
> http://en.wikipedia.org/wiki/Same_origin_policy

I think so yes, although this function seems to be more narrow in scope;
it's not about full URLs but rather about domains, ie. the parts of a URL
that a cookie is associated with.

 -Hans



More information about the wine-devel mailing list