From 52adad8882d1504e8a8422ddb128b4976b853113 Mon Sep 17 00:00:00 2001 From: grunfink Date: Tue, 18 Aug 2026 17:56:13 +0200 Subject: Don't propagate 4xx error statuses from proxied media. --- html.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/html.c b/html.c index 3ea9513..ee68327 100644 --- a/html.c +++ b/html.c @@ -5328,6 +5328,9 @@ int html_get_handler(const xs_dict *req, const char *q_path, } } } + else + if (status >= 400 && status <= 499) + status = HTTP_STATUS_NOT_FOUND; snac_debug(&snac, 1, xs_fmt("Proxy for %s %d", url, status)); } -- cgit