Description: Briefly describe the changes in this pull request.
Changelog: Ensure a changelog entry following the format of Keep a Changelog is added at the bottom of the PR description.
Documentation: Have you updated relevant documentation?
Dependencies: Are there any new dependencies? Have you updated the dependency versions in the documentation?
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
Allow non-ASCII characters in docs' file names.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.
## 📋 Pull Request Information
**Original PR:** https://github.com/open-webui/open-webui/pull/1408
**Author:** [@Mmx233](https://github.com/Mmx233)
**Created:** 4/3/2024
**Status:** ✅ Merged
**Merged:** 4/3/2024
**Merged by:** [@tjbck](https://github.com/tjbck)
**Base:** `dev` ← **Head:** `main`
---
### 📝 Commits (1)
- [`947c392`](https://github.com/open-webui/open-webui/commit/947c392f722b7aa97a82bf443de68681700997a6) fix: manually check the docs' filename
### 📊 Changes
**1 file changed** (+2 additions, -2 deletions)
<details>
<summary>View changed files</summary>
📝 `backend/apps/rag/main.py` (+2 -2)
</details>
### 📄 Description
## Pull Request Checklist
- [x] **Description:** Briefly describe the changes in this pull request.
- [x] **Changelog:** Ensure a changelog entry following the format of [Keep a Changelog](https://keepachangelog.com/) is added at the bottom of the PR description.
- [x] **Documentation:** Have you updated relevant documentation?
- [x] **Dependencies:** Are there any new dependencies? Have you updated the dependency versions in the documentation?
---
## 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
- Allow non-ASCII characters in docs' file names.
---
<sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
📋 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.