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
Merge requests
!1657
Issue
#3255637
: htmlspecialchars(): Passing null to parameter
#1
($string) of type string is deprecated
Code
Review changes
Check out branch
Open in Workspace
Download
Patches
Plain diff
Expand sidebar
Open
Issue
#3255637
: htmlspecialchars(): Passing null to parameter
#1
($string) of type string is deprecated
issue/drupal-3255637:3255637-htmlspecialchars-passing-null
into
9.4.x
Overview
1
Commits
1
Pipelines
0
Changes
2
Open
Issue #3255637: htmlspecialchars(): Passing null to parameter #1 ($string) of type string is deprecated
Hoi Sing Edison Wong
requested to merge
issue/drupal-3255637:3255637-htmlspecialchars-passing-null
into
9.4.x
Jan 16, 2022
Overview
1
Commits
1
Pipelines
0
Changes
2
0
0
Merge request reports
Compare
9.4.x
version 4
3b272f56
Feb 9, 2022
version 3
5da04385
Jan 16, 2022
version 2
cee328ce
Jan 16, 2022
version 1
cee328ce
Jan 16, 2022
9.4.x (HEAD)
and
latest version
latest version
a69b1ddf
1 commit,
May 6, 2022
version 4
3b272f56
1 commit,
Feb 9, 2022
version 3
5da04385
1 commit,
Jan 16, 2022
version 2
cee328ce
131 commits,
Jan 16, 2022
version 1
cee328ce
1 commit,
Jan 16, 2022
2 files
+
11
−
1
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
2
core/lib/Drupal/Component/Render/FormattableMarkup.php
+
1
−
1
View file @ 9efa5755
Edit in single-file editor
Open in Web IDE
Show full file
@@ -259,7 +259,7 @@ protected static function placeholderFormat($string, array $args) {
* The properly escaped replacement value.
*/
protected
static
function
placeholderEscape
(
$value
)
{
return
$value
instanceof
MarkupInterface
?
(
string
)
$value
:
Html
::
escape
(
$value
);
return
$value
instanceof
MarkupInterface
?
(
string
)
$value
:
Html
::
escape
(
$value
??
''
);
}
}
Loading