HF RL Explorer

StripSlashes middleware panics when route context is nil

StripSlashes middleware panics when route context is nil: a task in UltraTerminal (Harbor dataset). The StripSlashes middleware causes a panic when the route context is nil. This happens when the middleware is used outside of the chi router context or in certain edge cases where the context hasn't…

The task

The StripSlashes middleware causes a panic when the route context is nil. This happens when the middleware is used outside of the chi router context or in certain edge cases where the context hasn't been properly initialized.

Part of harness-hub/UltraTerminal.