Page MenuHomePhabricator

D16457.id.diff
No OneTemporary

D16457.id.diff

diff --git a/src/aphront/response/AphrontResponse.php b/src/aphront/response/AphrontResponse.php
--- a/src/aphront/response/AphrontResponse.php
+++ b/src/aphront/response/AphrontResponse.php
@@ -162,7 +162,7 @@
$object,
array(__CLASS__, 'processValueForJSONEncoding'));
- $response = json_encode($object);
+ $response = phutil_json_encode($object);
// Prevent content sniffing attacks by encoding "<" and ">", so browsers
// won't try to execute the document as HTML even if they ignore

File Metadata

Mime Type
text/plain
Expires
Sat, Mar 15, 9:49 PM (6 d, 7 h ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7702996
Default Alt Text
D16457.id.diff (522 B)

Event Timeline