Minor; fix a unit test
This commit is contained in:
@@ -89,7 +89,7 @@ final class AphrontHTTPSinkTestCase extends PhabricatorTestCase {
|
|||||||
$sink->writeResponse($response);
|
$sink->writeResponse($response);
|
||||||
|
|
||||||
$this->assertEqual(
|
$this->assertEqual(
|
||||||
'for(;;);{"x":"\u003ciframe\u003e"}',
|
'for (;;);{"x":"\u003ciframe\u003e"}',
|
||||||
$sink->getEmittedData(),
|
$sink->getEmittedData(),
|
||||||
"JSONResponse should prevent content-sniffing attacks.");
|
"JSONResponse should prevent content-sniffing attacks.");
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user