Page MenuHomePhorge

D25811.1732279017.diff
No OneTemporary

D25811.1732279017.diff

diff --git a/src/future/oauth/PhutilOAuth1Future.php b/src/future/oauth/PhutilOAuth1Future.php
--- a/src/future/oauth/PhutilOAuth1Future.php
+++ b/src/future/oauth/PhutilOAuth1Future.php
@@ -225,11 +225,12 @@
private function signString($string) {
$consumer_secret = null;
+ $key = '';
if ($this->consumerSecret) {
$consumer_secret = $this->consumerSecret->openEnvelope();
+ $key .= urlencode($consumer_secret).'&';
}
- $key = urlencode($consumer_secret).'&';
if ($this->tokenSecret !== null) {
$key .= urlencode($this->tokenSecret);
}

File Metadata

Mime Type
text/plain
Expires
Fri, Nov 22, 12:36 (18 h, 55 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
989164
Default Alt Text
D25811.1732279017.diff (594 B)

Event Timeline