Page MenuHomePhorge

Fix strlen(null) PHP 8.1 error when pushing into a fresh repository
ClosedPublic

Authored by Sten on Jul 28 2023, 13:28.
Tags
None
Referenced Files
F2944342: D25361.1738266022.diff
Wed, Jan 29, 19:40
F2936831: D25361.1737940905.diff
Sun, Jan 26, 01:21
F2925886: D25361.1737635527.diff
Wed, Jan 22, 12:32
F2896428: D25361.1737241482.diff
Fri, Jan 17, 23:04
F2889649: D25361.1737203199.diff
Fri, Jan 17, 12:26
F2889206: D25361.1737200911.diff
Fri, Jan 17, 11:48
F2888763: D25361.1737193333.diff
Fri, Jan 17, 09:42
F2888020: D25361.1737177734.diff
Fri, Jan 17, 05:22

Details

Summary

Doing a git push into a fresh repository over https fails with a PHP 8.1 strlen(null) error.

This fixes it.

Fixes T15569

Test Plan
  • Create an empty repository on a PHP 8.1 Phorge instance
  • Clone it
  • Add some data
  • git push

Diff Detail

Repository
rP Phorge
Branch
gitPush
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 695
Build 695: arc lint + arc unit