You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
System.Uri constructor returns an object that does is not equal to the input #56482
Actual: uri has this value: mapi16:///{S-1-5-0000000}/[email protected]/곯가가가공갫갡곤갘갖갯걆겹갹곓곌갂겥강걥겤걿갨가/{S-1-5-0000000}/[email protected]/곯가가가공갫갡곤갘갖갯걆겹갹곓곌갂겥강걥겤걿갨가
Configuration
Code is running on .NET 5
Regression?
This was working in both .NET Framework and UWP (.NET Core)
This looks like another manifestation of #1061 that was fixed by #36429 for 5.0.
Seems to affect file-like Uri schemes (custom ones, mailto, vsmacros).
Activity
MihaZupan commentedon Jul 29, 2021
Doesn't repro on
net48, reproes onnetcoreapp2.1and newer. Looks like a Framework => Core regression.Simplified repro
Note that the host starts with
/(triple slash).This looks like another manifestation of #1061 that was fixed by #36429 for 5.0.
Seems to affect file-like Uri schemes (custom ones, mailto, vsmacros).
karelz commentedon Jul 29, 2021
Triage: We should fix it. Not a regression against 5.0 -> moving to 7.0.
Fix parsing of not unicode Uri (dotnet#56482).
Fix invalid parsing of not unicode Uri (#59252)