Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
typo3
qfq
Commits
b9601ad5
Commit
b9601ad5
authored
Apr 01, 2021
by
Carsten Rose
Browse files
Auf w20 (Ubuntu 20.04, PHP 7.4) war 'host' leer. Keine Ahnung wie das passieren konnte.
parent
ad23a286
Pipeline
#5098
passed with stages
in 5 minutes and 18 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
extension/Classes/Core/Helper/SessionCookie.php
View file @
b9601ad5
...
...
@@ -41,8 +41,8 @@ class SessionCookie {
$this
->
cleanTempFiles
=
!
Support
::
findInSet
(
SYSTEM_SHOW_DEBUG_INFO_DOWNLOAD
,
$config
[
SYSTEM_SHOW_DEBUG_INFO
]);
$urlParts
=
parse_url
(
$config
[
SYSTEM_BASE_URL
]);
$domain
=
$urlParts
[
'host'
];
$path
=
$urlParts
[
'path'
];
$domain
=
$urlParts
[
'host'
]
??
'missing'
;
$path
=
$urlParts
[
'path'
]
??
'missing'
;
// $_COOKIES[]
if
(
false
===
(
$this
->
pathFileNameCookie
=
tempnam
(
sys_get_temp_dir
(),
SESSION_COOKIE_PREFIX
)))
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment