This repository has been archived by the owner on Jan 23, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
improve port parsing to be more resilient against trailing characters (…
- Loading branch information
Showing
2 changed files
with
14 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -112,6 +112,8 @@ public void HttpProxy_EnvironmentProxy_Loaded() | |
[InlineData("domain\\foo:[email protected]", "1.1.1.1", "80", "foo", "bar")] | ||
[InlineData("domain%5Cfoo:[email protected]", "1.1.1.1", "80", "foo", "bar")] | ||
[InlineData("HTTP://ABC.COM/", "abc.com", "80", null, null)] | ||
[InlineData("http://10.30.62.64:7890/", "10.30.62.64", "7890", null, null)] | ||
[InlineData("http://1.2.3.4:8888/foo", "1.2.3.4", "8888", null, null)] | ||
public void HttpProxy_Uri_Parsing(string _input, string _host, string _port, string _user , string _password) | ||
{ | ||
RemoteInvoke((input, host, port, user, password) => | ||
|