Skip to content

Commit 2d9f383

Browse files
committed
Improve RFC3986 parsing validation
1 parent f8f9759 commit 2d9f383

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Uri.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1195,6 +1195,8 @@ public function toString(): string
11951195
public function toDisplayString(): string
11961196
{
11971197
$components = $this->toComponents();
1198+
1199+
11981200
unset($components['port']);
11991201
if (null !== $components['host']) {
12001202
$components['host'] = IdnaConverter::toUnicode($components['host'])->domain();

0 commit comments

Comments
 (0)