We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7a9a8d6 commit c553e1dCopy full SHA for c553e1d
lib/Redis.php
@@ -223,7 +223,7 @@ public static function parseDsn($dsn)
223
$parts = parse_url($dsn);
224
225
// Check the URI scheme
226
- $validSchemes = array('redis', 'tcp');
+ $validSchemes = array('redis', 'rediss', 'tcp');
227
if (isset($parts['scheme']) && ! in_array($parts['scheme'], $validSchemes)) {
228
throw new InvalidArgumentException("Invalid DSN. Supported schemes are " . implode(', ', $validSchemes));
229
}
0 commit comments