Skip to content
Snippets Groups Projects
Commit 09a9c1ba authored by klausi's avatar klausi Committed by Chris Leppanen
Browse files

Issue #2502419 by klausi: Log messages XSS attack vector

parent 211b7e72
No related branches found
No related tags found
No related merge requests found
......@@ -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;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment