Disable UriSyntaxFlags.UnEscapeDotsAndSlashes for .NET < 4.5 #299
Replies: 4 comments
-
Beta Was this translation helpful? Give feedback.
-
I think, this one is critical. Now we finally switched to EasyNetQ.ManagementClient.3.0.0-alpha6 (from 0.51.3... we maintained internally for years) and we get a lot of failures related to the absence of this patch. Some in mixed code, but also in pure managed. I looked at the old sources, and this patch existed in EasyNetQ.ManagementClient many years ago, but was lost someday. We must return it back. Update: 8bbf914#diff-1902a0dc6e27026d434957620dfca2df1ef224d12f3c9341240af6f3174c732b
|
Beta Was this translation helpful? Give feedback.
-
Fixed in #314 |
Beta Was this translation helpful? Give feedback.
-
Well, it's not over. Currently There was a code inside 4a28e76#diff-1902a0dc6e27026d434957620dfca2df1ef224d12f3c9341240af6f3174c732b But we can't revert it now: final URI is created inside |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Despite the fact that .NET 4.0 is considered coprolite, I used to reproduce the issue (unescaped dots and slashes in Uri -> unable to use default vhost / in all queries) on my local machine.
Should we check and fix the issue, e.g. like @mikehadlow suggested?
http://mikehadlow.blogspot.co.uk/2011/08/how-to-stop-systemuri-un-escaping.html
Or at least throw different exception, explaining the issue?
P.S. maybe my case is related to https://devblogs.microsoft.com/dotnet/net-framework-november-13-2019-update-for-net-framework-4-8/:
Beta Was this translation helpful? Give feedback.
All reactions