[GH-ISSUE #12740] issue: Knowledge file import with "%" in file name will throw Uncaught (in promise) URIError: malformed URI sequence #16703

Closed
opened 2026-04-19 22:34:42 -05:00 by GiteaMirror · 1 comment
Owner

Originally created by @gullevek on GitHub (Apr 11, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/12740

Check Existing Issues

  • I have searched the existing issues and discussions.
  • I am using the latest version of Open WebUI.

Installation Method

Pip Install

Open WebUI Version

v0.6.2

Ollama Version (if applicable)

v0.6.5

Operating System

macOS 14.7.5

Browser (if applicable)

Firefox 137.0.1, Chrome 135.0.7049.42 (Official Build) (arm64)

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 listed steps to reproduce the bug in detail.

Expected Behavior

Create a new Knowledge Container
Upload a new file that contains a "%" character
It should not crash the web page

Actual Behavior

Create a new Knowledge Container
Upload a new file that contains a "%" character
"Uncaught (in promise) URIError: URI malformed"
The Knowledge container will no longer load and crash the web page if tried to

Steps to Reproduce

  1. Knowledge Base
  2. Upload a file with a "%"
  3. view console log error

Logs & Screenshots

localhost-1744354325152.log
localhost-1744354364033.log

Additional Information

No response

Originally created by @gullevek on GitHub (Apr 11, 2025). Original GitHub issue: https://github.com/open-webui/open-webui/issues/12740 ### Check Existing Issues - [x] I have searched the existing issues and discussions. - [x] I am using the latest version of Open WebUI. ### Installation Method Pip Install ### Open WebUI Version v0.6.2 ### Ollama Version (if applicable) v0.6.5 ### Operating System macOS 14.7.5 ### Browser (if applicable) Firefox 137.0.1, Chrome 135.0.7049.42 (Official Build) (arm64) ### 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 listed steps to reproduce the bug in detail. ### Expected Behavior Create a new Knowledge Container Upload a new file that contains a "%" character It should not crash the web page ### Actual Behavior Create a new Knowledge Container Upload a new file that contains a "%" character "Uncaught (in promise) URIError: URI malformed" The Knowledge container will no longer load and crash the web page if tried to ### Steps to Reproduce 1. Knowledge Base 2. Upload a file with a "%" 3. view console log error ### Logs & Screenshots [localhost-1744354325152.log](https://github.com/user-attachments/files/19700300/localhost-1744354325152.log) [localhost-1744354364033.log](https://github.com/user-attachments/files/19700301/localhost-1744354364033.log) ### Additional Information _No response_
GiteaMirror added the bug label 2026-04-19 22:34:42 -05:00
Author
Owner

@tjbck commented on GitHub (Apr 11, 2025):

Addressed with c5636ff68c

<!-- gh-comment-id:2798112342 --> @tjbck commented on GitHub (Apr 11, 2025): Addressed with c5636ff68c4e9ca095cd6458cc740f4a3aa53831
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#16703