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)
Tue, Jul 9, 10:34
Unknown Object (File)
Tue, Jul 9, 10:32
Unknown Object (File)
Tue, Jul 9, 10:31
Unknown Object (File)
Mon, Jul 8, 17:20
Unknown Object (File)
Mon, Jun 24, 09:06
Unknown Object (File)
Sat, Jun 22, 16:30
Unknown Object (File)
Sat, Jun 22, 11:52
Unknown Object (File)
Sat, Jun 22, 00:38

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