Issue Bug Closed

#105633Uri does not stringify IPv6 to bracket-syntax

Benjamin Franzke 11/19/24, 08:08 updated 08/12/25, 14:35

Description

$uri = new Uri('https://user:pass@[fe80::200:5aee:feaa:20a2]:3001/foo?bar=baz#quz');

// Outputs https://user:pass@fe80::200:5aee:feaa:20a2:3001/foo?bar=baz#quz instead of
// https://user:pass@[fe80::200:5aee:feaa:20a2]:3001/foo?bar=baz#quz
echo (string)$uri;

Reviews 3

History 29

  1. Gerrit Code Review <span data-processor="relativetime" data-value="2024-11-19T11:58:29+00:00" > 11/19/24, 11:58 </span> Patch set 1 for branch *main* of project *Teams/Security/TYPO3v4-Core* has been pushed to the review server. It is available at https://review.typo3.org/c/Teams/Security/TYPO3v4-Core/+/87056

  2. Gerrit Code Review <span data-processor="relativetime" data-value="2024-11-21T08:12:16+00:00" > 11/21/24, 08:12 </span> Patch set 2 for branch *main* of project *Teams/Security/TYPO3v4-Core* has been pushed to the review server. It is available at https://review.typo3.org/c/Teams/Security/TYPO3v4-Core/+/87056

  3. Benjamin Franzke commented and changed status Under Review Resolved done 0 % 100 % <span data-processor="relativetime" data-value="2024-11-21T08:15:10+00:00" > 11/21/24, 08:15 </span>

    Applied in changeset commit:e1461531fea5bc553ddb3be5c8939886e7087921.