Reputation: 4232
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.
Upvotes: 3
Views: 2529
Reputation: 344571
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:
This is a known bug. This was actually discussed on these forums not too long ago. An MSFT employee acknowledged the problem and stated that it will be considered for a future release.
Upvotes: 5