Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Uri] Uri.IsWellFormedUriString() different behaviour from net461 #28170

Closed
nbontempo opened this issue Dec 12, 2018 · 2 comments
Closed

[Uri] Uri.IsWellFormedUriString() different behaviour from net461 #28170

nbontempo opened this issue Dec 12, 2018 · 2 comments

Comments

@nbontempo
Copy link

The following unit test for Uri.IsWellFormedUriString("lime://teste_it%C3%A1vel%3Axx@teste.net/8dd3a58vgv", UriKind.Absolute)

return true on TargetFramework=net461

return false on TargetFramework=netcoreapp2.1

Is this different behaviour expected?

@rmkerr
Copy link
Contributor

rmkerr commented Dec 12, 2018

Nothing sticks out to me about that particular URI that should cause Uri.IsWellFormedUriString to return false. It looks like this is probably a duplicate of #21626, since both strings contain percent encoded Unicode.

@karelz
Copy link
Member

karelz commented Dec 12, 2018

Duplicate of #21626

@karelz karelz closed this as completed Dec 12, 2018
@msftgits msftgits transferred this issue from dotnet/corefx Feb 1, 2020
@msftgits msftgits added this to the 3.0 milestone Feb 1, 2020
@ghost ghost locked as resolved and limited conversation to collaborators Dec 14, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants