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 ca0d3e4 commit 7503bc0Copy full SHA for 7503bc0
src/libraries/System.Private.Uri/tests/FunctionalTests/UriBuilderTests.cs
@@ -387,7 +387,7 @@ public void ToString_Invalid()
387
388
[Theory]
389
[InlineData(@"user/\?#@name", "", "http://user%2F%5C%3F%23%40name@localhost/")]
390
- [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/")]
391
public void ToString_EncodingUserInfo(string username, string password, string expectedToString)
392
{
393
var uriBuilder = new UriBuilder
0 commit comments