Describe the bug

redis-cli does not properly parse rediss:// (TLS) URL

To reproduce

Install Redis with TLS enabled Run redis-cli with rediss:// scheme, e.g.: /usr/bin/redis-cli --tls --cacert /test/ca.crt --cert /test/tls.crt --key /test/tls.key \ -u rediss://myredis.local:6379 --user testuser --pass testpass ping

(command hangs)

Expected behavior

PONG

Additional information

approx line 417 in redis-cli.c does not account for longer-length of tlsscheme: curr += strlen(scheme);