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
F2986584: D25361.1740100548.diff
Thu, Feb 20, 01:15
F2982439: D25361.1739959931.diff
Tue, Feb 18, 10:12
F2980707: D25361.1739902620.diff
Mon, Feb 17, 18:17
F2979927: D25361.1739873322.diff
Mon, Feb 17, 10:08
F2978691: D25361.1739666845.diff
Sat, Feb 15, 00:47
F2971424: D25361.1739539810.diff
Thu, Feb 13, 13:30
F2970960: D25361.1739533992.diff
Thu, Feb 13, 11:53
F2963994: D25361.1739273233.diff
Mon, Feb 10, 11:27

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
Lint
Lint Not Applicable
Unit
Tests Not Applicable