Uri.AbsoluteUri and UrlEncoding of Local File Urls

added by DotNetKicks
8/21/2019 12:38:23 PM

248 Views

Ran into an interesting problem with the Uri class and local file URLs today. The problem is that Urls were not properly Url encoding and decoding with the Url treated incorrectly. After a bit of experimenting it turns out that the way the file URL is created is critical to the Url parsing behavior of the Uri class.


0 comments