Page MenuHomePhorge

D25266.1737681427.diff
No OneTemporary

D25266.1737681427.diff

diff --git a/src/applications/diffusion/request/DiffusionGitRequest.php b/src/applications/diffusion/request/DiffusionGitRequest.php
--- a/src/applications/diffusion/request/DiffusionGitRequest.php
+++ b/src/applications/diffusion/request/DiffusionGitRequest.php
@@ -3,6 +3,9 @@
final class DiffusionGitRequest extends DiffusionRequest {
protected function isStableCommit($symbol) {
+ if (!phutil_nonempty_string($symbol)) {
+ return false;
+ }
return preg_match('/^[a-f0-9]{40}\z/', $symbol);
}

File Metadata

Mime Type
text/plain
Expires
Fri, Jan 24, 01:17 (6 d, 14 h ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1146073
Default Alt Text
D25266.1737681427.diff (524 B)

Event Timeline