litellm/tests/unit/proxy/pass_through_endpoints
Kerry Lu 89f1bc931e
fix(proxy): close encoded and backslash paths that skip the Gemini pass-through file ownership check (#53210)
* fix(proxy): check Gemini pass-through file ownership on paths with repeatedly encoded dot segments

Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>

* fix(proxy): bound the path decoding in the Gemini pass-through file ownership check

Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>

* refactor(proxy): raise the over-encoded path error at the Gemini ownership check boundary

Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>

* fix(proxy): treat a backslash as a slash in the Gemini pass-through file ownership check

Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>

---------

Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
2026-11-20 15:08:57 -08:00
..
llm_provider_handlers feat(anthropic): price Claude subscription OAuth allowance usage at $0, overage at API rates (#52901) 2026-11-19 15:08:39 -08:00
__init__.py
test_carry_guardrail_logging_info.py
test_codex_passthrough_endpoints.py refactor(proxy): move non-auth writers out of the auth cache (#51599) 2026-11-20 17:57:38 +09:00
test_cursor_cli_passthrough_endpoints.py feat(auth): read projects, tags, access groups and object permissions through rust repositories (#52178) 2026-11-18 22:32:06 +00:00
test_deepgram_ws_passthrough_routes.py test(auth): use the production cache in auth fixtures (#52754) 2026-11-19 03:43:24 +00:00
test_injected_stream_usage.py fix(vllm): write spend log rows for /vllm passthrough calls to router models (#45733) 2026-10-14 12:40:48 -07:00
test_llm_pass_through_endpoints.py test(auth): use the production cache in auth fixtures (#52754) 2026-11-19 03:43:24 +00:00
test_llm_passthrough_endpoints.py fix(proxy): close encoded and backslash paths that skip the Gemini pass-through file ownership check (#53210) 2026-11-20 15:08:57 -08:00
test_managed_id_rewriter.py fix(streaming): keep merged think tags balanced and split SSE lines only on CR/LF (#48755) 2026-10-28 17:00:29 -07:00
test_method_specific_routing.py
test_pass_through_endpoints.py fix(proxy): send no body upstream on a pass-through GET or DELETE sent without one (#50833) 2026-11-19 01:38:36 -08:00
test_passthrough_auth_default.py feat(auth): decide key and JWT authentication in a Rust core (#51374) 2026-11-17 14:07:47 +09:00
test_passthrough_endpoint_router.py feat(pass-through): add eu/jev decision API pass-through with spend tracking (#46875) 2026-10-29 17:52:43 -07:00
test_passthrough_endpoints_common_utils.py
test_passthrough_guardrail_block_otel_span.py
test_passthrough_guardrails.py fix(responses): run the guardrails a Responses WebSocket frame selects (#48725) 2026-10-30 14:12:51 -07:00
test_passthrough_guardrails_field_targeting.py
test_passthrough_post_call_guardrails.py
test_streaming_handler.py feat(anthropic): price Claude subscription OAuth allowance usage at $0, overage at API rates (#52901) 2026-11-19 15:08:39 -08:00
test_streaming_handler_interrupt.py feat(proxy): per-request header opts a stream into usage.cost without the global include_cost_in_streaming_usage flag (#50574) 2026-11-07 16:57:20 -08:00
test_success_handler.py feat(budgets): replace the python budget hold and settle engine with a rust engine admitted at auth (#51535) 2026-11-15 16:03:51 -08:00
test_upstream_usage_headers.py fix(otel): label configured pass-through routes litellm.passthrough and read the operation from the upstream (#48675) 2026-10-28 10:48:34 -07:00
test_vector_store_fallbacks.py feat(vector-stores): fail over native search passthrough to configured fallback stores (#52856) 2026-11-19 09:51:41 -08:00
test_vertex_ai_batch_passthrough.py refactor(router): move router callers onto the entry points and invert the proxy imports (#48847) 2026-10-29 17:26:33 +00:00
test_vertex_ai_live_passthrough.py
test_vertex_passthrough_load_balancing.py fix(vertex_ai): authenticate Vertex AI pass-through requests once (#48942) 2026-11-07 00:25:51 -08:00
test_watsonx_proxy_route.py fix(watsonx): read pass-through credentials from use_in_pass_through deployments (#49462) 2026-10-31 11:53:25 -07:00