Commit ab88490d authored by Davide Aprea's avatar Davide Aprea

specified cookie for adding to blacklist

parent efb79016
......@@ -1353,7 +1353,7 @@ class MetaGer
}
}
foreach(Cookie::get() as $key => $value){
if((stripos($key, 'blpage') !== false) && (stripos($key, $this->fokus) !== false) && (stripos($value, '*.') === false)){
if((stripos($key, $this->fokus.'_blpage') === 0) && (stripos($value, '*.') === false)){
$this->hostBlacklist[] = $value;
}
}
......@@ -1395,7 +1395,7 @@ class MetaGer
}
}
foreach(Cookie::get() as $key => $value){
if(stripos($key, 'blpage') !== false && stripos($key, $this->fokus) !== false && stripos($value, '*.') !== false){
if(stripos($key, $this->fokus.'_blpage') === 0 && stripos($value, '*.') === 0){
$this->domainBlacklist[] = $value;
}
}
......
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