Skip to content

Comments

fix browser logging endpoint: return proper errors, rename to browser-logging#14623

Open
timar wants to merge 1 commit intodistro/collabora/co-25.04from
private/timar/browser-logging-backport
Open

fix browser logging endpoint: return proper errors, rename to browser-logging#14623
timar wants to merge 1 commit intodistro/collabora/co-25.04from
private/timar/browser-logging-backport

Conversation

@timar
Copy link
Member

@timar timar commented Feb 22, 2026

The logging.html POST endpoint silently fell through to the static file handler when browser_logging was disabled or the token was invalid, causing spurious "File not found" errors in the logs. Always return an appropriate response: 403 with a reason when disabled or token is wrong, 200 on success. Also rename the endpoint from logging.html to browser-logging to better reflect its purpose.

…-logging

The logging.html POST endpoint silently fell through to the static file
handler when browser_logging was disabled or the token was invalid,
causing spurious "File not found" errors in the logs. Always return an
appropriate response: 403 with a reason when disabled or token is wrong,
200 on success. Also rename the endpoint from logging.html to
browser-logging to better reflect its purpose.

Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I35bcfed4d65fdda06dcb59dd6491ecfa26866a83
@timar timar force-pushed the private/timar/browser-logging-backport branch from 6c4a6c1 to 0290f3b Compare February 22, 2026 11:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: To Review

Development

Successfully merging this pull request may close these issues.

1 participant