Skip to content

Commit

Permalink
BlueScreen: used scrubber for HTTP headers (#498)
Browse files Browse the repository at this point in the history
  • Loading branch information
dakujem authored Jul 12, 2021
1 parent a0c1b09 commit 9cf7843
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Tracy/BlueScreen/assets/content.phtml
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,7 @@ $code = $exception->getCode() ? ' #' . $exception->getCode() : '';
<div class="outer">
<table>
<?php
foreach ($_SERVER['argv'] as $k => $v) echo '<tr><th>', Helpers::escapeHtml($k), '</th><td>', Helpers::escapeHtml($v), "</td></tr>\n";
foreach ($_SERVER['argv'] as $k => $v) echo '<tr><th>', Helpers::escapeHtml($k), '</th><td>', $dump($v, $k), "</td></tr>\n";
?>
</table>
</div>
Expand All @@ -299,7 +299,7 @@ $code = $exception->getCode() ? ' #' . $exception->getCode() : '';
<div class="outer">
<table class="tracy-sortable">
<?php
foreach ($httpHeaders as $k => $v) echo '<tr><th>', Helpers::escapeHtml($k), '</th><td>', Helpers::escapeHtml($v), "</td></tr>\n";
foreach ($httpHeaders as $k => $v) echo '<tr><th>', Helpers::escapeHtml($k), '</th><td>', $dump($v, $k), "</td></tr>\n";
?>
</table>
</div>
Expand Down

0 comments on commit 9cf7843

Please sign in to comment.