Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
drupal-3174996
Manage
Activity
Members
Labels
Plan
Custom issue tracker
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
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
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Issue forks
drupal-3174996
Commits
90a95fd1
Commit
90a95fd1
authored
14 years ago
by
Angie Byron
Browse files
Options
Downloads
Patches
Plain Diff
#1011308
by droplet: Fixed Call to undefined function decode_entities IN common.inc
parent
587d9d7b
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
includes/common.inc
+4
-0
4 additions, 0 deletions
includes/common.inc
with
4 additions
and
0 deletions
includes/common.inc
+
4
−
0
View file @
90a95fd1
...
...
@@ -1549,6 +1549,10 @@ function filter_xss_bad_protocol($string, $decode = TRUE) {
// @todo Remove the $decode parameter in Drupal 8, and always assume an HTML
// string that needs decoding.
if
(
$decode
)
{
if
(
!
function_exists
(
'decode_entities'
))
{
require_once
DRUPAL_ROOT
.
'/includes/unicode.inc'
;
}
$string
=
decode_entities
(
$string
);
}
return
check_plain
(
drupal_strip_dangerous_protocols
(
$string
));
...
...
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
register
or
sign in
to comment