Page MenuHomePhorge

D25266.1734764211.diff
No OneTemporary

D25266.1734764211.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
Sat, Dec 21, 06:56 (4 h, 6 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1024048
Default Alt Text
D25266.1734764211.diff (524 B)

Event Timeline