We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fd52a3f commit f2accaaCopy full SHA for f2accaa
HttpClient/Test/HttpClientTestCase.php
@@ -860,7 +860,7 @@ public function testProxy()
860
861
$body = $response->toArray();
862
$this->assertSame('localhost:8057', $body['HTTP_HOST']);
863
- $this->assertMatchesRegularExpression('#^http://(localhost|127\.0\.0\.1):8057/$#', $body['REQUEST_URI']);
+ $this->assertMatchesRegularExpression('#^http://(localhost|127\.0\.\d+\.1):8057/$#', $body['REQUEST_URI']);
864
865
$response = $client->request('GET', 'http://localhost:8057/', [
866
'proxy' => 'http://foo:b%3Dar@localhost:8057',
0 commit comments