Fixed https proxy for netstandard 1.3 and netstandard 2.0 (#85)

This commit is contained in:
Stef Heyenrath
2018-02-02 22:52:08 +01:00
parent 061eb93fd0
commit 361d40189b
19 changed files with 356 additions and 24 deletions

View File

@@ -37,7 +37,7 @@ namespace WireMock.Http
public static bool TryExtractProtocolAndPort(string url, out string proto, out int port)
{
proto = null;
port = -1;
port = 0;
Match m = UrlDetailsRegex.Match(url);
if (m.Success)