[-] FO: Fix cookie domain detection for com.co tld #PSCFV-5256
This commit is contained in:
+1
-1
@@ -107,7 +107,7 @@ class CookieCore
|
||||
{
|
||||
if ($shared_url != $out[4])
|
||||
continue;
|
||||
if (preg_match('/^(?:.*\.)?([^.]*(?:.{2,3})?\..{2,3})$/Ui', $shared_url, $res))
|
||||
if (preg_match('/^(?:.*\.)?([^.]*(?:.{2,4})?\..{2,3})$/Ui', $shared_url, $res))
|
||||
{
|
||||
$domain = '.'.$res[1];
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user