Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F2695083
D25266.1734818829.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
508 B
Referenced Files
None
Subscribers
None
D25266.1734818829.diff
View Options
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 ($symbol === null) {
+ return false;
+ }
return preg_match('/^[a-f0-9]{40}\z/', $symbol);
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Dec 21, 22:07 (19 h, 16 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1024133
Default Alt Text
D25266.1734818829.diff (508 B)
Attached To
Mode
D25266: Fix PHP 8.1 "preg_match(null)" exception when cloning a repository with no URI set
Attached
Detach File
Event Timeline
Log In to Comment