Project

General

Profile

Actions

Bug #105633

closed

Uri does not stringify IPv6 to bracket-syntax

Added by Benjamin Franzke 2 days ago. Updated about 2 hours ago.

Status:
Resolved
Priority:
Should have
Assignee:
-
Category:
Miscellaneous
Start date:
2024-11-19
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
12
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

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;
Actions

Also available in: Atom PDF