Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F15357890
D21454.id51064.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
660 B
Referenced Files
None
Subscribers
None
D21454.id51064.diff
View Options
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
Details
Attached
Mime Type
text/plain
Expires
Wed, Mar 12, 7:04 AM (3 w, 6 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7224062
Default Alt Text
D21454.id51064.diff (660 B)
Attached To
Mode
D21454: Fix a missing "pht()" parameter in HTTPSFuture
Attached
Detach File
Event Timeline
Log In to Comment