If I create a Uri class instance from string that has trailing full stops - '.', they are truncated from the resulting Uri object.
For example in C#:
Uri test = new Uri("http://server/folder.../");
test.PathAndQuery;
returns "/folder/" instead of "/folder.../".
Escaping "." with "%2E" did not help.
How do I make the Uri class to keep trailing period characters?
You can use reflection before your calling code.
This has been submitted to Connect and the workaround above was posted there.