fix/adjust web search to properly block domains (#19670)

Co-authored-by: Tim Baek <tim@openwebui.com>
This commit is contained in:
Poccia
2025-12-02 04:17:32 -05:00
committed by GitHub
co-authored by Tim Baek
parent 562f22960c
commit 6e531679f4
2 changed files with 11 additions and 7 deletions
+1 -1
View File
@@ -33,7 +33,7 @@ def get_filtered_results(results, filter_list):
except Exception:
pass
if any(is_string_allowed(hostname, filter_list) for hostname in hostnames):
if is_string_allowed(hostnames, filter_list):
filtered_results.append(result)
continue