mirror of
https://github.com/open-webui/open-webui.git
synced 2026-03-22 14:13:08 -05:00
[PR #1408] [MERGED] fix: manually check the docs' filename #7460
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/1408
Author: @Mmx233
Created: 4/3/2024
Status: ✅ Merged
Merged: 4/3/2024
Merged by: @tjbck
Base:
dev← Head:main📝 Commits (1)
947c392fix: manually check the docs' filename📊 Changes
1 file changed (+2 additions, -2 deletions)
View changed files
📝
backend/apps/rag/main.py(+2 -2)📄 Description
Pull Request Checklist
Description
When uploading documents, the system changed from only allowing ASCII character file names to manually checking for dangerous characters. It allows file names to include non-English characters such as Chinese and Korean. This PR may fix the problem in #1407.
Changelog Entry
Changed
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.