سؤال

I have a string with "." like https://mysite.com/Relation=My.Test.AL.?Path=MySymbolPath when I create uri from it the "." is truncated. 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 ));

See uristring has "AL.", but uri.AbsoluteUri does not, it has "AL" Do you know how to prevent it?

Thanks

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top