-
Bug
-
Resolution: Not a Bug
-
Major
-
None
-
RHDG 8.4.5 GA
-
None
-
False
-
None
-
False
-
Release Notes
-
RedisInsight will be implemented for RHDG8.5
-
-
-
Moderate
-
Customer Facing
RHDG's Redis protocol implementation implements its own case insensitive string comparison instead of using standard libraries to do so. And does it wrong.
server/resp/src/main/java/org/infinispan/server/resp/RespCommand.java
if (upperByte == targetByte || upperByte + 22 == targetByte) {
Lower case ASCII letters are 32 higher than upper case, not 22.
So if a Redis client sends upper case commands it will work, but if it sends lower case commands it will fail to match the command, ending up with a TRACE log like:
[org.infinispan.server.resp.RespDecoder] Received command: null with arguments []
- depends on
-
ISPN-13882 RESP server is case-sensitive
- Resolved
-
ISPN-14882 RESP command parser doesn't handle lowercase commands correctly
- Resolved