fix: remove unnecessary case-sensitivity when working with commands#2036
Merged
PavelPashov merged 2 commits intoredis:mainfrom Nov 7, 2025
Merged
fix: remove unnecessary case-sensitivity when working with commands#2036PavelPashov merged 2 commits intoredis:mainfrom
PavelPashov merged 2 commits intoredis:mainfrom
Conversation
|
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. |
pinkiesky
commented
Oct 31, 2025
Contributor
|
Hey @pinkiesky, thank you for creating this PR, I will take a look |
Contributor
|
Hey @pinkiesky, |
Contributor
Author
@PavelPashov , done |
Contributor
|
Hey @pinkiesky, we'll include this in the next release |
simong
added a commit
to simong/ioredis
that referenced
this pull request
Nov 17, 2025
* origin/main: fix: remove unnecessary case-sensitivity when working with commands (redis#2036) ci: update redis test images (redis#2035)
github-actions bot
pushed a commit
that referenced
this pull request
Jan 5, 2026
# [5.9.0](v5.8.2...v5.9.0) (2026-01-05) ### Bug Fixes * remove unnecessary case-sensitivity when working with commands ([#2036](#2036)) ([f33a2c8](f33a2c8)) ### Features * add timeout blocking commands ([#2052](#2052)) ([6ec78be](6ec78be)) * **cluster:** refactor sharded pub/sub v5 ([#2043](#2043)) ([a523f3a](a523f3a))
|
🎉 This PR is included in version 5.9.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
This was referenced Jan 11, 2026
This was referenced Feb 8, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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