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

System.Uri and System.UriBuilder seems to fail with accented characters #36365

Closed
MathieuGirard opened this issue May 13, 2020 · 4 comments
Closed
Milestone

Comments

@MathieuGirard
Copy link

new UriBuilder {Host="", Path="/é", Scheme="file"}.Uri

In .Net frame work:
You obtain : [file:///é]

In .Net core:
You obtain : [file://%2fé/é]

Escaping the text does not work either: new Uri("file://" + Uri.EscapeUriString("/é")) also fails in .NetCore but not in framework...

@Dotnet-GitSync-Bot Dotnet-GitSync-Bot added area-System.Net untriaged New issue has not been triaged by the area owner labels May 13, 2020
@ghost
Copy link

ghost commented May 13, 2020

Tagging subscribers to this area: @dotnet/ncl
Notify danmosemsft if you want to be subscribed.

@davidsh
Copy link
Contributor

davidsh commented May 13, 2020

@MihaZupan

@MihaZupan
Copy link
Member

Thanks for the report. This is a known bug that will be fixed for .NET 5.

@MihaZupan
Copy link
Member

Duplicate of #1061

@MihaZupan MihaZupan marked this as a duplicate of #1061 May 13, 2020
@MihaZupan MihaZupan removed the untriaged New issue has not been triaged by the area owner label May 13, 2020
@karelz karelz added this to the 5.0.0 milestone Aug 18, 2020
@ghost ghost locked as resolved and limited conversation to collaborators Dec 9, 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

5 participants