fix(passthrough): decompression-safe accounting, escaped-path proxying, streaming tee

This commit is contained in:
2026-08-20 11:45:53 +01:00
parent 8d470b173b
commit 3ce3715c79
3 changed files with 472 additions and 42 deletions
+1 -1
View File
@@ -268,7 +268,7 @@ func (g *Gateway) ServeHTTP(w http.ResponseWriter, r *http.Request) {
return
}
if providerName, rest, ok := passthroughRoute(r.URL.Path); ok {
if providerName, rest, ok := passthroughRoute(r.URL.EscapedPath()); ok {
if _, known := g.adapters[providerName]; known {
u, grp, ok := g.auth.identify(r)
if !ok {