mirror of
https://github.com/open-webui/open-webui.git
synced 2026-07-16 06:03:26 -05:00
[GH-ISSUE #23674] issue: RAG_ALLOWED_FILE_EXTENSIONS is case sensitive #123353
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?
Originally created by @cvsickle on GitHub (Apr 13, 2026).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/23674
Check Existing Issues
Installation Method
Docker
Open WebUI Version
0.8.12
Ollama Version (if applicable)
No response
Operating System
Ubuntu 24.04
Browser (if applicable)
No response
Confirmation
README.md.Expected Behavior
The RAG_ALLOWED_FILE_EXTENSIONS list, whether set via environment variable or through the UI, should be case-insensitive.
For example, adding
pdfto the list should allow.pdf,.PDF,.PdF, .etc to be uploaded.Actual Behavior
The RAG_ALLOWED_FILE_EXTENSIONS list is case sensitive.
For example, adding
pdfto the list ONLY allows.pdffiles to be uploaded..PDFor.pDFare rejected.Steps to Reproduce
pdf.PDF)Logs & Screenshots
Additional Information
No response
@Classic298 commented on GitHub (Apr 13, 2026):
I think this is intended and not a bug.
I think there's even been a discussion for this before already.
Needs discussing anyways before changing this. This is a breaking change for many deployments if changed.