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 225506b commit 6b4e99cCopy full SHA for 6b4e99c
src/Servers/Kestrel/Core/test/AddressBinderTests.cs
@@ -81,6 +81,8 @@ public void ParseAddressLocalhost()
81
[Fact]
82
public void ParseAddress_HasPipeNoSlash()
83
{
84
+ // Pipe prefix is missing slash here and so the address is parsed as an IP.
85
+ // The slash is required to differentiate between a pipe and a hostname.
86
var listenOptions = AddressBinder.ParseAddress("http://pipe:8080", out var https);
87
Assert.IsType<IPEndPoint>(listenOptions.EndPoint);
88
Assert.Equal(8080, listenOptions.IPEndPoint.Port);
0 commit comments