I have searched for any existing and/or related issues.
I have searched for any existing and/or related discussions.
I have also searched in the CLOSED issues AND CLOSED discussions and found no related items (your issue might already be addressed on the development branch!).
I am using the latest version of Open WebUI.
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
I have read and followed all instructions in README.md.
I am using the latest version of both Open WebUI and Ollama.
I have included the browser console logs.
I have included the Docker container logs.
I have provided every relevant configuration, setting, and environment variable used in my setup.
I have clearly listed every relevant configuration, custom setting, environment variable, and command-line option that influences my setup (such as Docker Compose overrides, .env values, browser settings, authentication configurations, etc).
I have documented step-by-step reproduction instructions that are precise, sequential, and leave nothing to interpretation. My steps:
Start with the initial platform/version/OS and dependencies used,
Specify exact install/launch/configure commands,
List URLs visited, user input (incl. example values/emails/passwords if needed),
Describe all options and toggles enabled or changed,
Include any files or environmental changes,
Identify the expected and actual result at each stage,
Ensure any reasonably skilled user can follow and hit the same issue.
Expected Behavior
The RAG_ALLOWED_FILE_EXTENSIONS list, whether set via environment variable or through the UI, should be case-insensitive.
For example, adding pdf to 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 pdf to the list ONLY allows .pdf files to be uploaded. .PDF or .pDF are rejected.
Steps to Reproduce
Install OpenWebUI.
In the UI, set the Allowed File Extensions setting to pdf
Try to upload a PDF with a capitalized file extension (.PDF)
Get an error.
Logs & Screenshots
Additional Information
No response
Originally created by @cvsickle on GitHub (Apr 13, 2026).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/23674
### Check Existing Issues
- [x] I have searched for any existing and/or related issues.
- [x] I have searched for any existing and/or related discussions.
- [x] I have also searched in the CLOSED issues AND CLOSED discussions and found no related items (your issue might already be addressed on the development branch!).
- [x] I am using the latest version of Open WebUI.
### 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
- [x] I have read and followed all instructions in `README.md`.
- [x] I am using the latest version of **both** Open WebUI and Ollama.
- [x] I have included the browser console logs.
- [x] I have included the Docker container logs.
- [x] I have **provided every relevant configuration, setting, and environment variable used in my setup.**
- [x] I have clearly **listed every relevant configuration, custom setting, environment variable, and command-line option that influences my setup** (such as Docker Compose overrides, .env values, browser settings, authentication configurations, etc).
- [x] I have documented **step-by-step reproduction instructions that are precise, sequential, and leave nothing to interpretation**. My steps:
- Start with the initial platform/version/OS and dependencies used,
- Specify exact install/launch/configure commands,
- List URLs visited, user input (incl. example values/emails/passwords if needed),
- Describe all options and toggles enabled or changed,
- Include any files or environmental changes,
- Identify the expected and actual result at each stage,
- Ensure any reasonably skilled user can follow and hit the same issue.
### Expected Behavior
The RAG_ALLOWED_FILE_EXTENSIONS list, whether set via environment variable or through the UI, should be **case-insensitive**.
For example, adding `pdf` to 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 `pdf` to the list ONLY allows `.pdf` files to be uploaded. `.PDF` or `.pDF` are rejected.
### Steps to Reproduce
1. Install OpenWebUI.
2. In the UI, set the Allowed File Extensions setting to `pdf`
3. Try to upload a PDF with a capitalized file extension (`.PDF`)
4. Get an error.
### Logs & Screenshots
<img width="360" height="59" alt="Image" src="https://github.com/user-attachments/assets/618f276c-b745-433c-aded-c51c57346a65" />
### Additional Information
_No response_
GiteaMirror
added the bug label 2026-05-21 02:38:34 -05:00
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.
<!-- gh-comment-id:4236863128 -->
@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.
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.
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.