Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
feeds
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
drupal.org
feeds
Commits
09a9c1ba
Commit
09a9c1ba
authored
9 years ago
by
klausi
Committed by
Chris Leppanen
9 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Issue #2502419 by klausi: Log messages XSS attack vector
parent
211b7e72
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
plugins/FeedsProcessor.inc
+2
-2
2 additions, 2 deletions
plugins/FeedsProcessor.inc
with
2 additions
and
2 deletions
plugins/FeedsProcessor.inc
+
2
−
2
View file @
09a9c1ba
...
...
@@ -1082,9 +1082,9 @@ abstract class FeedsProcessor extends FeedsPlugin {
include_once
DRUPAL_ROOT
.
'/includes/utility.inc'
;
$message
=
$e
->
getMessage
();
$message
.
=
'<h3>Original item</h3>'
;
$message
.
=
'<pre>'
.
drupal_var_export
(
$item
)
.
'</pre>'
;
$message
.
=
'<pre>'
.
check_plain
(
drupal_var_export
(
$item
)
)
.
'</pre>'
;
$message
.
=
'<h3>Entity</h3>'
;
$message
.
=
'<pre>'
.
drupal_var_export
(
$entity
)
.
'</pre>'
;
$message
.
=
'<pre>'
.
check_plain
(
drupal_var_export
(
$entity
)
)
.
'</pre>'
;
return
$message
;
}
...
...
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