[-] FO: Fix cookie domain detection for com.co tld #PSCFV-5256
This commit is contained in:
1 parent
1df0aadb63
commit
ef331654f2
1 file changed
+1
-1
+1
-1
@@ -107,7 +107,7 @@ class CookieCore
|
|||||||
{
|
{
|
||||||
if ($shared_url != $out[4])
|
if ($shared_url != $out[4])
|
||||||
continue;
|
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];
|
$domain = '.'.$res[1];
|
||||||
break;
|
break;
|
||||||
|
|||||||
Reference in new issue
Block a user