Lines Matching refs:to
100 // #pragma mark String to cookie fields
116 // in the domain (to avoid setting cookies on TLDs).
134 // and try to parse as much from the cookie as we can.
180 // Do not reset the result to B_OK if something else already failed
228 BNetworkCookie::SetPath(const BString& to)
233 // Limit the path to 4096 characters to not let the cookie jar grow huge.
234 if (to[0] != '/' || to.Length() > 4096)
238 if (to.EndsWith("/.") || to.EndsWith("/.."))
240 if (to.FindFirst("/../") >= 0 || to.FindFirst("/./") >= 0)
243 fPath = to;
255 // meant to indicate the cookie should also be used for subdomains.
257 // not specified at all (in this case it has to exactly match the Url of
258 // the page that set the cookie). In any case, we don't need to handle
263 // check we're not trying to set a cookie on a TLD or empty domain
786 // If we lack a name, fail to parse.