feat(firewall): complete operational reliability phase
Signed-off-by: Sebastian Krupinski <krupinski01@gmail.com>
This commit is contained in:
@@ -66,6 +66,6 @@ class ObjectId
|
||||
*/
|
||||
public static function isValid(string $id): bool
|
||||
{
|
||||
return MongoObjectId::isValid($id);
|
||||
return preg_match('/^[a-f0-9]{24}$/iD', $id) === 1;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user