Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit ac3f01b

Browse filesBrowse files
author
Daniel Kozák
committed
[HttpClient] Fix #50670 - HttpClient parseUrl is broken and not RFC compliant
1 parent da8c5b3 commit ac3f01b
Copy full SHA for ac3f01b

File tree

1 file changed

+2
-2
lines changed
Filter options

1 file changed

+2
-2
lines changed

‎src/Symfony/Component/HttpClient/Tests/HttpClientTraitTest.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/HttpClient/Tests/HttpClientTraitTest.php
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,8 +70,8 @@ public static function provideResolveUrl(): array
7070
[self::RFC3986_BASE, '/g', 'http://a/g'],
7171
[self::RFC3986_BASE, '//g', 'http://g/'],
7272
[self::RFC3986_BASE, '?y', 'http://a/b/c/d;p?y'],
73-
[self::RFC3986_BASE, '?y={"f":1}', 'http://a/b/c/d;p?y={%22f%22:1}'],
74-
[self::RFC3986_BASE, 'g{oof}y', 'http://a/b/c/g{oof}y'],
73+
[self::RFC3986_BASE, '?y={"f":1}', 'http://a/b/c/d;p?y=%7B%22f%22:1%7D'],
74+
[self::RFC3986_BASE, 'g{oof}y', 'http://a/b/c/g%7Boof%7Dy'],
7575
[self::RFC3986_BASE, 'g?y', 'http://a/b/c/g?y'],
7676
[self::RFC3986_BASE, '#s', 'http://a/b/c/d;p?q#s'],
7777
[self::RFC3986_BASE, 'g#s', 'http://a/b/c/g#s'],

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.