Skip to content
Snippets Groups Projects

Issue #3441070: Send unescaped HTML to API

1 file
+ 1
1
Compare changes
  • Side-by-side
  • Inline
@@ -193,7 +193,7 @@ public function fetchRequestId($account_id, $web_property_id, $topic, $rank_sour
$page['url'] = $url;
}
if (!empty($body)) {
$page['bodyCopy'] = '<pre>' . htmlspecialchars($body) . '</pre>';
$page['bodyCopy'] = $body;
}
// Construct params.
$params = [
Loading