mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-19 05:12:41 +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:
|
default:
|
||||||
return id(new AphrontFileResponse())
|
return id(new AphrontFileResponse())
|
||||||
->setMimeType('application/json')
|
->setMimeType('application/json')
|
||||||
->setContent(json_encode($result));
|
->setContent('for(;;);'.json_encode($result));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue