You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+1Lines changed: 1 addition & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -7,6 +7,7 @@ CHANGELOG
7
7
* Deprecate passing `null` as `$requestIp` to `IpUtils::__checkIp()`, `IpUtils::__checkIp4()` or `IpUtils::__checkIp6()`, pass an empty string instead.
8
8
* Add the `litespeed_finish_request` method to work with Litespeed
9
9
* Deprecate `upload_progress.*` and `url_rewriter.tags` session options
Copy file name to clipboardExpand all lines: Session/Storage/Handler/SessionHandlerFactory.php
+6-2Lines changed: 6 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -30,6 +30,10 @@ public static function createHandler($connection): AbstractSessionHandler
30
30
thrownew \TypeError(sprintf('Argument 1 passed to "%s()" must be a string or a connection object, "%s" given.', __METHOD__, get_debug_type($connection)));
31
31
}
32
32
33
+
if ($options = parse_url($connection)) {
34
+
parse_str($options['query'] ?? '', $options);
35
+
}
36
+
33
37
switch (true) {
34
38
case$connectioninstanceof \Redis:
35
39
case$connectioninstanceof \RedisArray:
@@ -61,7 +65,7 @@ public static function createHandler($connection): AbstractSessionHandler
0 commit comments