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:
parent
9216f193e1
commit
0b20c7a5ed
1 changed files with 1 additions and 1 deletions
|
@ -159,7 +159,7 @@ class PhabricatorConduitAPIController
|
|||
default:
|
||||
return id(new AphrontFileResponse())
|
||||
->setMimeType('application/json')
|
||||
->setContent(json_encode($result));
|
||||
->setContent('for(;;);'.json_encode($result));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue