[BlackBerry] Cookies with an IP domain are not being loaded properly into memory

https://bugs.webkit.org/show_bug.cgi?id=105859

PR 271597

Patch by Otto Derek Cheung <otcheung@rim.com> on 2012-12-29
Reviewed by George Staikos.

The isIP flag isn't persistented in the database. We need to check it
again when we load it into memory.

* platform/blackberry/CookieManager.cpp:
(WebCore::CookieManager::getBackingStoreCookies):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@138568 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent f5366d87
2012-12-29 Otto Derek Cheung <otcheung@rim.com>
[BlackBerry] Cookies with an IP domain are not being loaded properly into memory
https://bugs.webkit.org/show_bug.cgi?id=105859
PR 271597
Reviewed by George Staikos.
The isIP flag isn't persistented in the database. We need to check it
again when we load it into memory.
* platform/blackberry/CookieManager.cpp:
(WebCore::CookieManager::getBackingStoreCookies):
2012-12-29 Kondapally Kalyan <kalyan.kondapally@intel.com>
[EFL][WebGL] Refactor GLXImplementation.
......@@ -535,6 +535,11 @@ void CookieManager::getBackingStoreCookies()
CookieLog("CookieManager - Backingstore has %d cookies, loading them in memory now", cookies.size());
for (size_t i = 0; i < cookies.size(); ++i) {
ParsedCookie* newCookie = cookies[i];
// The IP flag is not persisted in the database.
if (BlackBerry::Platform::isIPAddress(newCookie->domain().utf8().data()))
newCookie->setDomain(newCookie->domain(), true);
checkAndTreatCookie(newCookie, BackingStoreCookieEntry);
}
CookieLog("CookieManager - Backingstore loading complete.");
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment