-
Notifications
You must be signed in to change notification settings - Fork 6.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[PT Run] Add scheme verification for application URI (#15324)
* [PT Run] Add scheme verfication for application URI * Add test
- Loading branch information
1 parent
b609403
commit 5bcdbbc
Showing
2 changed files
with
6 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -78,6 +78,7 @@ public class ExtendedUriParserTests | |
[DataRow("ftp://user:[email protected]:2121", true, "ftp://user:[email protected]:2121/", false)] | ||
[DataRow("ftp://user:[email protected]", true, "ftp://user:[email protected]/", false)] | ||
[DataRow("ftp://user:[email protected]:2121", true, "ftp://user:[email protected]:2121/", false)] | ||
[DataRow("^:", false, null, false)] | ||
|
||
public void TryParseCanParseHostName(string query, bool expectedSuccess, string expectedResult, bool expectedIsWebUri) | ||
{ | ||
|
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