From 5a555241150e27100b743f94ae24e6f0bfb0f388 Mon Sep 17 00:00:00 2001 From: d00f <8052722+DrDoof@users.noreply.github.com> Date: Tue, 1 Sep 2026 23:25:03 +0200 Subject: [PATCH] httpd: let the login page fetch its translations login.html asks for i18n.js, but the file is not on the short list a client may have before it authenticates, so the request is answered with a redirect back to the login page and the strings stay as the English that is baked into the markup. The file carries only the interface text, the same text the page already ships untranslated, so serving it before login gives nothing away. --- httpd/httpd.c | 1 + 1 file changed, 1 insertion(+) diff --git a/httpd/httpd.c b/httpd/httpd.c index 5e92d05b..4537eefe 100644 --- a/httpd/httpd.c +++ b/httpd/httpd.c @@ -994,6 +994,7 @@ void httpd_appcall(void) if (!authenticated && !(f_data[entry].start == FDATA_START_login_html || f_data[entry].start == FDATA_START_port_svg || f_data[entry].start == FDATA_START_sfp_svg + || f_data[entry].start == FDATA_START_i18n_js || f_data[entry].start == FDATA_START_style_css)) { send_to_login(); goto do_send;