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
F3331617: D25361.1743510323.diff
Mon, Mar 31, 12:25
F3331310: D25361.1743504897.diff
Mon, Mar 31, 10:54
F3331180: D25361.1743502400.diff
Mon, Mar 31, 10:13
F3331168: D25361.1743502331.diff
Mon, Mar 31, 10:12
F3327788: D25361.1743445800.diff
Sun, Mar 30, 18:30
F3317696: D25361.1743264934.diff
Fri, Mar 28, 16:15
F3317678: D25361.1743264505.diff
Fri, Mar 28, 16:08
F3307388: D25361.1743145012.diff
Thu, Mar 27, 06:56

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