Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F2644150
D25811.1732279017.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Award Token
Flag For Later
Advanced/Developer...
View Handle
View Hovercard
Size
594 B
Referenced Files
None
Subscribers
None
D25811.1732279017.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D25811: Fix PHP 8.1 "strlen(null)" exception in PhutilOAuth1Future
Attached
Detach File
Event Timeline
Log In to Comment