Issue Bug Closed

#94872[BUG] \TYPO3\CMS\Core\Http\Uri::getScheme() must return empty string

Rafael Kähm 08/13/21, 10:53 updated 09/07/21, 07:35

Description

As method doc comment of \TYPO3\CMS\Core\Http\Uri::getScheme() and PSR-7 says

> “If no scheme is present, this method MUST return an empty string.”

The method must return an empty string if no schema is defined, currently the method returns a null.

Reviews 2