mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-05 18:38:17 -05:00
[PR #21964] [CLOSED] fix: read WEB_SEARCH_DOMAIN_FILTER_LIST from env variable #41995
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/open-webui/open-webui/pull/21964
Author: @subDesTagesMitExtraKaese
Created: 2/28/2026
Status: ❌ Closed
Base:
dev← Head:fix-domain-filter-getenv📝 Commits (1)
aaaf610fix: read WEB_SEARCH_DOMAIN_FILTER_LIST from env variable📊 Changes
1 file changed (+8 additions, -6 deletions)
View changed files
📝
backend/open_webui/config.py(+8 -6)📄 Description
Pull Request Checklist
devbranch. PRs targetingmainwill be immediately closed.devto ensure no unrelated commits (e.g. frommain) are included. Push updates to the existing PR branch instead of closing and reopening.fix:Changelog Entry
Description
WEB_SEARCH_DOMAIN_FILTER_LIST is currently not being read from the env variables. A default value of
[]is always applied.This fix adds the code to read and parse the config value, like it's done with other persistent config variables.
Steps to reproduce:
docs.openwebui.comFixed
Additional Information
Contributor License Agreement
By submitting this pull request, I confirm that I have read and fully agree to the Contributor License Agreement (CLA), and I am providing my contributions under its terms.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.