views:

125

answers:

1

Hi fellows,

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.

+2  A: 

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.

Daniel Vassallo
Thanks, Daniel.
iburlakov