Skip to content

Commit

Permalink
Add missing h() calls to exception stack traces.
Browse files Browse the repository at this point in the history
  • Loading branch information
markstory committed May 10, 2013
1 parent b533c1b commit a49c69a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/Cake/View/Elements/exception_stack_trace.ctp
Expand Up @@ -55,10 +55,10 @@ App::uses('Debugger', 'Utility');
'<a href="#" onclick="traceToggle(event, \'trace-args-%s\')">%s(%s)</a> ',
$i,
$called,
implode(', ', $args)
h(implode(', ', $args))
);
$arguments = sprintf('<div id="trace-args-%s" class="cake-code-dump" style="display: none;"><pre>', $i);
$arguments .= implode("\n", $params);
$arguments .= h(implode("\n", $params));
$arguments .= '</pre></div>';
endif;
echo $excerpt;
Expand Down

0 comments on commit a49c69a

Please sign in to comment.