By submitting this pull request, I confirm that I have read and fully agree to the Contributor License Agreement (CLA), and I am providing my contributions under its terms.
🔄 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/22472
**Author:** [@gambletan](https://github.com/gambletan)
**Created:** 3/9/2026
**Status:** ❌ Closed
**Base:** `dev` ← **Head:** `fix/file-content-to-data`
---
### 📝 Commits (3)
- [`205b3bc`](https://github.com/open-webui/open-webui/commit/205b3bc24ac0727b3e636cce9bbff2165b0eda76) fix: remove incorrect public-read grant from note write_access check
- [`26d27dc`](https://github.com/open-webui/open-webui/commit/26d27dcf8a6204936c2728807a2e8f9d3bb4274a) fix: change file.content to file.data in get_file_content_by_id
- [`5f80484`](https://github.com/open-webui/open-webui/commit/5f804846d4421e99768da1afc1cac33df6de0b81) fix: replace bare except with except Exception
### 📊 Changes
**14 files changed** (+52 additions, -19 deletions)
<details>
<summary>View changed files</summary>
➕ `PR_BODY.md` (+34 -0)
📝 `backend/open_webui/main.py` (+2 -2)
📝 `backend/open_webui/retrieval/loaders/external_document.py` (+1 -1)
📝 `backend/open_webui/retrieval/loaders/mineru.py` (+3 -3)
📝 `backend/open_webui/retrieval/vector/dbs/chroma.py` (+1 -1)
📝 `backend/open_webui/routers/chats.py` (+1 -1)
📝 `backend/open_webui/routers/configs.py` (+1 -1)
📝 `backend/open_webui/routers/files.py` (+1 -1)
📝 `backend/open_webui/routers/notes.py` (+0 -1)
📝 `backend/open_webui/routers/pipelines.py` (+2 -2)
📝 `backend/open_webui/routers/retrieval.py` (+1 -1)
📝 `backend/open_webui/socket/main.py` (+1 -1)
📝 `backend/open_webui/utils/middleware.py` (+3 -3)
📝 `backend/open_webui/utils/oauth.py` (+1 -1)
</details>
### 📄 Description
### Contributor License Agreement
- [x] By submitting this pull request, I confirm that I have read and fully agree to the Contributor License Agreement (CLA), and I am providing my contributions under its terms.
---
<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/22472
Author: @gambletan
Created: 3/9/2026
Status: ❌ Closed
Base:
dev← Head:fix/file-content-to-data📝 Commits (3)
205b3bcfix: remove incorrect public-read grant from note write_access check26d27dcfix: change file.content to file.data in get_file_content_by_id5f80484fix: replace bare except with except Exception📊 Changes
14 files changed (+52 additions, -19 deletions)
View changed files
➕
PR_BODY.md(+34 -0)📝
backend/open_webui/main.py(+2 -2)📝
backend/open_webui/retrieval/loaders/external_document.py(+1 -1)📝
backend/open_webui/retrieval/loaders/mineru.py(+3 -3)📝
backend/open_webui/retrieval/vector/dbs/chroma.py(+1 -1)📝
backend/open_webui/routers/chats.py(+1 -1)📝
backend/open_webui/routers/configs.py(+1 -1)📝
backend/open_webui/routers/files.py(+1 -1)📝
backend/open_webui/routers/notes.py(+0 -1)📝
backend/open_webui/routers/pipelines.py(+2 -2)📝
backend/open_webui/routers/retrieval.py(+1 -1)📝
backend/open_webui/socket/main.py(+1 -1)📝
backend/open_webui/utils/middleware.py(+3 -3)📝
backend/open_webui/utils/oauth.py(+1 -1)📄 Description
Contributor License Agreement
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.