Open ArcturusZhang opened 1 year ago
@annelo-msft: Would you please triage and cost this?
Thanks for filing this, @ArcturusZhang!
Can you help us understand -- is this something you discovered in tests, or is it a known issue with an existing SDK?
Thanks for filing this, @ArcturusZhang!
Can you help us understand -- is this something you discovered in tests, or is it a known issue with an existing SDK?
It is something I discovered in tests. The tests are here: https://github.com/Azure/autorest.csharp/pull/3317
Library name and version
Azure.Core
Describe the bug
When I am using the following code:
and when it is running on net461 target, we will get this uri as a result:
and when the same code running on net6, we will get the following:
Test results could be check here on the failure of
AppendQuery_DateTimeOffsetValue
Expected behavior
We should get the same uri for net6 and net461 with the
:
escaped.Actual behavior
The character
:
is not escaped.Reproduction Steps
Reproduction code included in the description above.
Environment
No response