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
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
F2881610: D25361.1737105967.diff
Thu, Jan 16, 09:26
F2872082: D25361.1736878657.diff
Mon, Jan 13, 18:17
F2869937: D25361.1736757381.diff
Sun, Jan 12, 08:36

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