Skip to content

3.0.1

Choose a tag to compare

@DzikuVx DzikuVx released this 06 Oct 19:50
· 1 commit to master since this release
Escape glob characters in Redis::clearModule() pattern

clearModule() built its SCAN MATCH pattern from the raw prefix and module
name. Redis treats \ * ? [ ] as glob metacharacters, so modules from
namespaced classes (e.g. Gameplay\Items\JumpNode) matched nothing and the
call silently deleted nothing, while names like a*b or a?b could delete
other modules' keys. Escape both prefix and module in a single pass. The
stored key format is unchanged.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>