Page MenuHomePhabricator

D21454.id.diff
No OneTemporary

D21454.id.diff

diff --git a/src/future/http/HTTPSFuture.php b/src/future/http/HTTPSFuture.php
--- a/src/future/http/HTTPSFuture.php
+++ b/src/future/http/HTTPSFuture.php
@@ -132,7 +132,7 @@
* @return string|false
*/
public static function loadContent($uri, $timeout = null) {
- $future = new HTTPSFuture($uri);
+ $future = new self($uri);
if ($timeout !== null) {
$future->setTimeout($timeout);
}
@@ -151,7 +151,8 @@
throw new Exception(
pht(
'Specified download path "%s" already exists, refusing to '.
- 'overwrite.'));
+ 'overwrite.',
+ $download_path));
}
return $this;

File Metadata

Mime Type
text/plain
Expires
Fri, Mar 28, 11:22 PM (1 w, 3 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7224062
Default Alt Text
D21454.id.diff (660 B)

Event Timeline