I have one problem with HttpWebRequest and Uri class of .NET framework (i use 3.5 version). When i try to do a simple request to page with url like this http://somedomain.net/-hello-world:misc./Items.bok, Uri remove “.” before last “/”. Is there any ability to prevent it.
Thanks in advance.
It seems that this is a known issue, but unfortunately remains unsolved. This was discussed a few months ago in the following Stack Overflow post:
From .NET Framework Dev Center – Bug in Uri class with periods: