open-webui/backend/open_webui
Davixk 8da4e5bb19
fix(chats): fix chat search crash (#18576)
* fix(chats): handle null bytes in PostgreSQL search

Removes null bytes from message content before performing
case-insensitive search in PostgreSQL, preventing conversion
errors and ensuring reliable query results.

* fix(chats): prevent null byte errors in PostgreSQL queries

Ensures chat content and titles containing null bytes are excluded from PostgreSQL text queries to avoid conversion errors.

Improves reliability of search and filtering by handling problematic characters in JSON fields.
2025-11-06 12:41:21 -05:00
..
data refac: mv backend files to /open_webui dir 2024-09-04 16:54:48 +02:00
internal refactor: format 2025-08-10 22:28:31 +08:00
migrations enh: reply to message 2025-09-27 04:05:12 -05:00
models fix(chats): fix chat search crash (#18576) 2025-11-06 12:41:21 -05:00
retrieval feat: Optionally forward user headers to external document loader 2025-11-06 00:05:46 -05:00
routers refac 2025-11-06 12:34:30 -05:00
socket enh: force refresh page on update 2025-11-03 13:43:07 -05:00
static refac 2025-08-10 00:02:58 +04:00
storage refac/fix: s3 checksum validation 2025-08-21 12:44:16 +04:00
test chore: format, lint 2025-07-16 15:23:18 +09:00
utils feat: comfyui image edit support 2025-11-06 03:43:59 -05:00
__init__.py Update __init__.py 2025-04-15 09:55:35 +02:00
alembic.ini fix: Alembic CLI commands from failing 2025-08-15 04:17:47 -04:00
config.py feat: comfyui image edit support 2025-11-06 03:43:59 -05:00
constants.py refac: introduce model id length limit 2025-10-08 16:54:06 -05:00
env.py 0.6.33 (#18118) 2025-10-07 16:20:27 -05:00
functions.py refac: user valves 2025-09-26 17:49:42 -05:00
main.py feat: comfyui image edit support 2025-11-06 03:43:59 -05:00
tasks.py 0.6.33 (#18118) 2025-10-07 16:20:27 -05:00