Unverified Commit a70535b9 authored by Maciej Fiedler's avatar Maciej Fiedler Committed by GitHub

Removed lowering the whole command in the rediscli.py

The lower() method sets the whole command to lowercase. This means that also the value of a Redis key gets set to lowercase. This can be fatal in some cases.
parent 5fe3ce4e
......@@ -196,7 +196,7 @@ class RedisCli(BaseView):
AJAX API.
"""
try:
cmd = request.form.get('cmd').lower()
cmd = request.form.get('cmd')
if not cmd:
return self._error('Cli: Empty command.')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment