Project

General

Profile

Actions

Bug #94872

closed

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

Added by Rafael Kähm over 3 years ago. Updated about 3 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Start date:
2021-08-13
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
10
PHP Version:
7.4
Tags:
PSR-7
Complexity:
no-brainer
Is Regression:
Sprint Focus:

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.

Actions

Also available in: Atom PDF