未验证 提交 7503bc0a 编写于 作者: M Miha Zupan 提交者: GitHub

Make CredScan happy with UriBuilder tests (#75352)

上级 ca0d3e4d
......@@ -387,7 +387,7 @@ public void ToString_Invalid()
[Theory]
[InlineData(@"user/\?#@name", "", "http://user%2F%5C%3F%23%40name@localhost/")]
[InlineData(@"user/\?#@name", @"pass/\?#@word", "http://user%2F%5C%3F%23%40name:pass%2F%5C%3F%23%40word@localhost/")]
[InlineData(@"user/\?#@name", @"/\?#@", "http://user%2F%5C%3F%23%40name:%2F%5C%3F%23%40@localhost/")]
public void ToString_EncodingUserInfo(string username, string password, string expectedToString)
{
var uriBuilder = new UriBuilder
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册