更新时间:2023-01-26 08:04:44
请非常具体地回答您的问题:
Please be very specific about your question:
原来您是在.NET 4.0下编译的,这是我要说的错误,因为其行为与.NET Fx 4.5 System.Http
Turned out that you compile under .NET 4.0 and this is a bug I would say, because the behavior is not identical to the .NET Fx 4.5 System.Http
您可以通过在Uri类中将dontEscape
设置为true来解决此问题:
You can fix it by setting dontEscape
to true in the Uri class:
var url = new Uri(@"http://google.com/advert?paginate=1&page=1&language=en&filters[updated_at][ge]=2016-03-21%2012:19:05", dontEscape: true);