1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-21 13:00:56 +01:00

Emit shielded JSON from Conduit endpoints.

Summary:

Test Plan:

Reviewers:

CC:
This commit is contained in:
epriestley 2011-02-19 13:02:25 -08:00
parent 9216f193e1
commit 0b20c7a5ed

View file

@ -159,7 +159,7 @@ class PhabricatorConduitAPIController
default:
return id(new AphrontFileResponse())
->setMimeType('application/json')
->setContent(json_encode($result));
->setContent('for(;;);'.json_encode($result));
}
}