specklesystems / speckle-sharp

.NET SDK, Schema and Connectors: Revit, Rhino, Grasshopper, Dynamo, ETABS, AutoCAD, Civil3D & more.
https://speckle.systems
Apache License 2.0
363 stars 167 forks source link

fix(core/http): log message should not duplicate path separator #3573

Closed iainsproat closed 1 month ago

iainsproat commented 1 month ago

We don't want to see duplicated / in uris, like this:

Screenshot 2024-07-15 at 17 59 52

As described in the documentation, the Uri.PathAndQuery will return the leading path separator so the formatting context should not introduce another one: https://learn.microsoft.com/en-us/dotnet/api/system.uri?view=net-8.0#examples