Commit 8e9b761d authored by Robert Lyon's avatar Robert Lyon Committed by Gerrit Code Review

Merge "Bug 1719480: Escaping the output of the webservice testclient" into 16.10_STABLE

parents e461f402 cde1a4d3
...@@ -42,7 +42,7 @@ global $SESSION; ...@@ -42,7 +42,7 @@ global $SESSION;
if ($result = $SESSION->get('ws_call_results')) { if ($result = $SESSION->get('ws_call_results')) {
$SESSION->set('ws_call_results', false); $SESSION->set('ws_call_results', false);
$result = unserialize($result); $result = unserialize($result);
$elements['wsresults'] = array('type' => 'html', 'value' => '<h3>Results:</h3><pre>' . var_export($result, true) . '</pre><br/>'); $elements['wsresults'] = array('type' => 'html', 'value' => '<h3>Results:</h3><pre>' . hsc(var_export($result, true)) . '</pre><br/>');
} }
// add protocol choice // add protocol choice
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment