Skip to content

Conversation

@pinkiesky
Copy link

This is the fix for #1933 ('keyPrefix' not working when command is in capital letter)

What is the root cause of the issue: to add prefix for keys, ioredis should get key position for a specific command. However, exists, hasFlag, and getKeyIndexes are case-sensitive by default. Case-insensitivity will fix the issue

This PR should be merged after ioredis/commands#7 is merged

@jit-ci
Copy link

jit-ci bot commented Oct 31, 2025

Hi, I’m Jit, a friendly security platform designed to help developers build secure applications from day zero with an MVS (Minimal viable security) mindset.

In case there are security findings, they will be communicated to you as a comment inside the PR.

Hope you’ll enjoy using Jit.

Questions? Comments? Want to learn more? Get in touch with us.

@PavelPashov
Copy link
Contributor

Hey @pinkiesky, thank you for creating this PR, I will take a look

@PavelPashov
Copy link
Contributor

PavelPashov commented Nov 3, 2025

Hey @pinkiesky, ioredis/commands 1.5.0 has been released, please update this PR.

@pinkiesky
Copy link
Author

Hey @pinkiesky, ioredis/commands 1.5.0 has been released, please update this PR.

@PavelPashov , done

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants