Page MenuHomePhorge

D25229.1739179715.diff
No OneTemporary

D25229.1739179715.diff

diff --git a/src/applications/auth/storage/PhabricatorAuthChallenge.php b/src/applications/auth/storage/PhabricatorAuthChallenge.php
--- a/src/applications/auth/storage/PhabricatorAuthChallenge.php
+++ b/src/applications/auth/storage/PhabricatorAuthChallenge.php
@@ -57,7 +57,11 @@
assert_instances_of($challenges, __CLASS__);
$token_list = $request->getStr(self::HTTPKEY);
- $token_list = explode(' ', $token_list);
+ if (phutil_nonempty_string($token_list)) {
+ $token_list = explode(' ', $token_list);
+ } else {
+ $token_list = [];
+ }
$token_map = array();
foreach ($token_list as $token_element) {

File Metadata

Mime Type
text/plain
Expires
Mon, Feb 10, 09:28 (1 w, 4 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1147207
Default Alt Text
D25229.1739179715.diff (651 B)

Event Timeline