Files
open-webui/backend/open_webui
Alvin Tang f78b238b40 fix: prevent pipeline filter from corrupting payload on HTTP error (#22445)
In both inlet and outlet filter processing, response.json() was called
BEFORE response.raise_for_status(). When a filter endpoint returns an
HTTP error, the user's chat payload gets silently overwritten with the
error response body. If the error is not caught, the corrupted payload
propagates through subsequent filters and into the chat completion.

Swapped the order so raise_for_status() runs first — payload is only
updated on success.

Co-authored-by: gambletan <ethanchang32@gmail.com>
2026-03-08 16:44:35 -05:00
..
2026-03-07 20:14:32 -06:00
2026-03-07 20:22:01 -06:00
2026-03-08 16:41:21 -05:00
2026-02-11 16:24:11 -06:00
2026-02-21 14:19:28 -06:00
2026-03-07 18:18:02 -06:00
2026-03-07 20:05:18 -06:00
2026-03-06 20:12:37 -06:00
2026-02-11 16:24:11 -06:00
2026-02-12 15:29:34 -06:00