0

我有一个带有“。”的字符串 像https://mysite.com/Relation=My.Test.AL.?Path=MySymbolPath 当我从它创建uri时“。” 被截断。https://mysite.com/Relation=My.Test.AL?Path=MySymbolPath

    var uristring = "https://mysite.com/Relation=My.Test.AL.?Path=MySymbolPath";
    var uri = new Uri(Uri.EscapeUriString(uristring ));

看到uristring有“AL.”,但是uri.AbsoluteUri没有,它有“AL”你知道怎么预防吗?

谢谢

4