Skip to content

Commit

Permalink
Add encoding.
Browse files Browse the repository at this point in the history
  • Loading branch information
Nenglish7 committed Jan 29, 2018
1 parent 74d8e6e commit b83d8ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/ExceptionTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ public function testError()
public function testXSSProtectGuard()
{
$badData = '<body style="color:#fff;"></body>';
$goodData = $this->xssProtect($badData);
$goodData = $this->xssProtect($badData, 'UTF-8');
$this->assertTrue($goodData !== $badData);
}

Expand Down

0 comments on commit b83d8ee

Please sign in to comment.