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.

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