mirror of
https://github.com/open-webui/open-webui.git
synced 2026-11-17 15:53:59 -06:00
[PR #24586] [CLOSED] refac: scope /api/config disclosure to actual frontend consumers #98766
Reference in New Issue
Block a user
📋 Pull Request Information
Original PR: https://github.com/open-webui/open-webui/pull/24586
Author: @Classic298
Created: 5/11/2026
Status: ❌ Closed
Base:
dev← Head:api-config-scope-disclosure📝 Commits (1)
f5c5d50refac: scope /api/config disclosure to actual frontend consumers📊 Changes
1 file changed (+8 additions, -9 deletions)
View changed files
📝
backend/open_webui/main.py(+8 -9)📄 Description
/api/config previously disclosed the same payload regardless of caller role, including the exact build version and the full feature-flag matrix to unauthenticated callers, plus the full inner features block to pending users who can only render AccountPending.
Audited every field returned to unauth/pending callers against actual frontend consumers:
The /auth page, AccountPending overlay, and the pre-redirect root layout keep every field they actually read. No frontend change required.
Contributor License Agreement
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.