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
Unknown Object (File)
Thu, Sep 21, 06:28
Unknown Object (File)
Sun, Sep 10, 10:36
Unknown Object (File)
Mon, Sep 4, 12:24
Unknown Object (File)
Sun, Aug 27, 15:36
Unknown Object (File)
Aug 21 2023, 08:11
Unknown Object (File)
Aug 17 2023, 23:23
Unknown Object (File)
Aug 16 2023, 19:29
Unknown Object (File)
Aug 13 2023, 09: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
Lint
Lint Not Applicable
Unit
Tests Not Applicable