Fixes that ‘should’ work.

This commit is contained in:
Andy Miller 2017-12-28 14:39:35 -07:00
parent 59f7f15434
commit 2ad9b6dc84
No known key found for this signature in database
GPG Key ID: E82B8D0EAB94EFB9
2 changed files with 2 additions and 2 deletions

View File

@ -40,7 +40,7 @@ class Session extends BaseSession
$session_timeout = $config->get('system.session.timeout', 1800);
$session_path = $config->get('system.session.path');
if (!$session_path) {
$session_path = '/' . ltrim($base_url, '/');
$session_path = '/' . ltrim(Uri::filterPath($base_url), '/');
}
// Activate admin if we're inside the admin path.

View File

@ -985,7 +985,7 @@ class Uri
// Handle route only
if ($route_only) {
$url_path = str_replace($base_url, '', $url_path);
$url_path = str_replace(static::filter($base_url), '', $url_path);
}
// transform back to string/array as needed