Page MenuHomePhabricator

D9704.diff
No OneTemporary

D9704.diff

diff --git a/src/workingcopyidentity/ArcanistWorkingCopyIdentity.php b/src/workingcopyidentity/ArcanistWorkingCopyIdentity.php
--- a/src/workingcopyidentity/ArcanistWorkingCopyIdentity.php
+++ b/src/workingcopyidentity/ArcanistWorkingCopyIdentity.php
@@ -311,7 +311,8 @@
$local_path));
try {
- return phutil_json_decode($local_path);
+ $json = Filesystem::readFile($local_path);
+ return phutil_json_decode($json);
} catch (PhutilJSONParserException $ex) {
throw new PhutilProxyException(
pht("Failed to parse '%s' as JSON.", $local_path),

File Metadata

Mime Type
text/plain
Expires
Wed, May 15, 11:05 PM (2 w, 3 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6288378
Default Alt Text
D9704.diff (625 B)

Event Timeline