Skip to content

Commit

Permalink
Merge pull request #44 from freshworks/redisinsights-fix
Browse files Browse the repository at this point in the history
fix in scan command and support for redis insights
  • Loading branch information
dinesh-murugiah authored Dec 5, 2024
2 parents 4db4a88 + 92ac153 commit 0c8e0b6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1383,7 +1383,7 @@ SplitRequestPtr ScanRequest::create(Router& router, Common::Redis::RespValuePtr&

// Iterate over the arguments and validate
for (size_t i = 2; i < incoming_request->asArray().size(); i++) {
std::string arg = incoming_request->asArray()[i].asString();
std::string arg = absl::AsciiStrToLower(incoming_request->asArray()[i].asString());
std::string value = incoming_request->asArray()[++i].asString();

if (!validateArgument(arg, value)) {
Expand Down

0 comments on commit 0c8e0b6

Please sign in to comment.