Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
drupal
Manage
Activity
Members
Labels
Plan
Wiki
Custom issue tracker
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
project
drupal
Commits
ce54b1ea
Verified
Commit
ce54b1ea
authored
10 months ago
by
Juraj Nemec
Browse files
Options
Downloads
Patches
Plain Diff
Issue
#3463022
by avpaderno: Correct a comment in drupal_settings_initialize()
parent
ee5aea69
No related branches found
No related tags found
No related merge requests found
Pipeline
#356971
passed
10 months ago
Stage: 🗜️ Test
Pipeline: drupal
#356981
Pipeline: drupal
#356980
Pipeline: drupal
#356979
+7
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
includes/bootstrap.inc
+2
-2
2 additions, 2 deletions
includes/bootstrap.inc
with
2 additions
and
2 deletions
includes/bootstrap.inc
+
2
−
2
View file @
ce54b1ea
...
...
@@ -807,8 +807,8 @@ function drupal_settings_initialize() {
// Otherwise use $base_url as session name, without the protocol
// to use the same session identifiers across HTTP and HTTPS.
list
(
,
$session_name
)
=
explode
(
'://'
,
$base_url
,
2
);
// HTTP_HOST can be modified by a visitor, but we already sanitized it
//
in
drupal_
settings
_initialize().
// HTTP_HOST can be modified by a visitor, but we already sanitized it
in
// drupal_
environment
_initialize().
if
(
!
empty
(
$_SERVER
[
'HTTP_HOST'
]))
{
$cookie_domain
=
_drupal_get_cookie_domain
(
$_SERVER
[
'HTTP_HOST'
]);
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
sign in
to comment