mirror of
https://github.com/open-webui/open-webui.git
synced 2026-03-22 22:21:27 -05:00
[PR #2783] [MERGED] fix: add backwards compat with older searxng urls #7890
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/2783
Author: @cheahjs
Created: 6/3/2024
Status: ✅ Merged
Merged: 6/3/2024
Merged by: @tjbck
Base:
dev← Head:fix/searxng-backwards-compat📝 Commits (1)
7fefbb3fix: add backwards compat with older searxng urls📊 Changes
1 file changed (+23 additions, -17 deletions)
View changed files
📝
backend/apps/rag/search/searxng.py(+23 -17)📄 Description
Pull Request Checklist
Note to first-time contributors: Please open a discussion post in Discussions and describe your changes before submitting a pull request.
Before submitting, make sure you've checked the following:
devbranch.Changelog Entry
Description
https://github.com/open-webui/open-webui/pull/2760 broke compat with existing SearXNG configs, as a config of
https://search.projectsegfau.lt/search?q=<query>would result in a queryhttps://search.projectsegfau.lt/search?q=%3Cquery%3E&q=this+is+a+search+query%3F&format=json&pageno=1&results_per_page=5&language=en-US&time_range=&engines=&categories=&theme=simple&image_proxy=0. Note the duplicatedqparam,���� This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.