Skip to content

Commit 9099e20

Browse files
committed
Validate pattern against prefix
1 parent e86b75a commit 9099e20

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

system/Cache/Handlers/RedisHandler.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -176,6 +176,7 @@ public function delete(string $key)
176176
public function deleteMatching(string $pattern)
177177
{
178178
$matchedKeys = [];
179+
$pattern = static::validateKey($pattern, $this->prefix);
179180
$iterator = null;
180181

181182
do {

0 commit comments

Comments
 (0)