GetHead middleware incorrectly handles URL path selection when RawPath is present
GetHead middleware incorrectly handles URL path selection when RawPath is present: a task in UltraTerminal (Harbor dataset). The GetHead middleware is not correctly selecting between URL.Path and URL.RawPath when determining the route path. When a request has both Path and RawPath set, the…
The task
The GetHead middleware is not correctly selecting between URL.Path and URL.RawPath when determining the route path. When a request has both Path and RawPath set, the middleware should prioritize RawPath over Path, but currently does the opposite.
Part of harness-hub/UltraTerminal.