diff options
Diffstat (limited to 'lib/ephy-web-app-utils.c')
-rw-r--r-- | lib/ephy-web-app-utils.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ephy-web-app-utils.c b/lib/ephy-web-app-utils.c index bd4717199..62e3e1cc3 100644 --- a/lib/ephy-web-app-utils.c +++ b/lib/ephy-web-app-utils.c @@ -294,7 +294,7 @@ create_cookie_jar_for_domain (const char *address, const char *directory) for (p = cookies; p; p = p->next) { SoupCookie *cookie = (SoupCookie*)p->data; - if (g_str_has_suffix (cookie->domain, domain)) + if (soup_cookie_domain_matches (cookie, domain)) soup_cookie_jar_add_cookie (new_jar, cookie); else soup_cookie_free (cookie); |