HttpWebRequest and Uri change request Uri

I have one problem with the HttpWebRequest and the Uri.NET framework class (I am using version 3.5). When I try to make a simple request to a page with a URL like http://somedomain.net/-hello-world:misc./Items.bok , Uri removes the "." to the past "/". Is there any way to prevent this.

Thanks in advance.

+3
source share
1 answer

This seems to be a known issue, but unfortunately remains unresolved. This was discussed a few months ago in the following article, Stack Overflow:


.NET Framework Dev Center - Uri :

. , . MSFT .

+5

Source: https://habr.com/ru/post/1728584/


All Articles