mirror of https://github.com/MISP/MISP
fix: [caching] remove uuid validation from the feed caching
- not really needed and it breaks the entire caching if a single old event has an invalid uuidpull/9438/head
parent
2d20c4136a
commit
b66a37844f
|
@ -4621,9 +4621,6 @@ class Server extends AppModel
|
|||
$pipe = $redis->pipeline();
|
||||
foreach ($data as $entry) {
|
||||
list($value, $uuid) = explode(',', $entry);
|
||||
if (!Validation::uuid($uuid)) {
|
||||
break 2;
|
||||
}
|
||||
if (!empty($value)) {
|
||||
$redis->sAdd('misp:server_cache:' . $serverId, $value);
|
||||
$redis->sAdd('misp:server_cache:combined', $value);
|
||||
|
|
Loading…
Reference in New Issue