mirror of
https://github.com/predis/predis.git
synced 2026-10-09 05:16:32 +00:00
b014d5de5a
Having NULL values or zero-length strings for connection parameters does not make much sense and actually it proved to be an issue with certain parameters like "password" where an empty string would trigger an AUTH command with an empty password (and obviously Redis was not happy with that). The main offenders were a few libraries and frameworks that kept passing empty values for parameters such as "database" and "password" even when users left them unconfigured. This fix should make things more robust and avoid such occurrences in the future. Related to PR #436 (rejected).