Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F2940077
D25273.1738038665.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
554 B
Referenced Files
None
Subscribers
None
D25273.1738038665.diff
View Options
diff --git a/src/applications/repository/storage/PhabricatorRepositoryURI.php b/src/applications/repository/storage/PhabricatorRepositoryURI.php
--- a/src/applications/repository/storage/PhabricatorRepositoryURI.php
+++ b/src/applications/repository/storage/PhabricatorRepositoryURI.php
@@ -752,7 +752,7 @@
// without requiring an index rebuild.
$ssh_host = PhabricatorEnv::getEnvConfig('diffusion.ssh-host');
- if (strlen($ssh_host)) {
+ if (phutil_nonempty_string($ssh_host)) {
$domain_map['<ssh-host>'] = $ssh_host;
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Jan 28, 04:31 (3 w, 4 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1133385
Default Alt Text
D25273.1738038665.diff (554 B)
Attached To
Mode
D25273: Fix PHP 8.1 "strlen(null)" exception setting a Diffusion repo URI when diffusion.ssh-host is null
Attached
Detach File
Event Timeline
Log In to Comment