-
-
Notifications
You must be signed in to change notification settings - Fork 17.9k
Description
Check Existing Issues
- I have searched for any existing and/or related issues.
- I have searched for any existing and/or related discussions.
- I am using the latest version of Open WebUI.
Installation Method
Docker
Open WebUI Version
v0.6.30
Ollama Version (if applicable)
No response
Operating System
Ubuntu 24.04
Browser (if applicable)
iOS Safari, Edge
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
Open WebUI should parse and normalise media types, treating whitespace around separators as insignificant, so strings like audio/webm;codecs=opus and audio/webm; codecs=opus are considered equivalent and match correctly.
Actual Behavior
During dictation, Open WebUI logs show different Content‑Type values depending on the browser. Edge results in file.content_type = "audio/webm;codecs=opus" (no space), while iOS Safari results in file.content_type = "audio/webm; codecs=opus" (space after the semicolon). Because whitespace is treated as significant, the Safari variant is rejected as unsupported
2025-09-26 08:22:10.886 | INFO | open_webui.routers.audio:transcription:944 - file.content_type: audio/webm;codecs=opus
2025-09-26 08:22:24.591 | INFO | open_webui.routers.audio:transcription:944 - file.content_type: audio/webm; codecs=opus
Steps to Reproduce
1 - set mime type to: audio/webm;codecs=opus iOS Safari unable to use dictate function
2 - set mime type to: audio/webm; codecs=opus Win11 Edge unable to use dictate function
3 - Set mime type to: audio/webm;codecs=opus,audio/webm; codecs=opus. Both Safari and Edge work.
Logs & Screenshots
2025-09-26 08:22:10.886 | INFO | open_webui.routers.audio:transcription:944 - file.content_type: audio/webm;codecs=opus
2025-09-26 08:22:24.591 | INFO | open_webui.routers.audio:transcription:944 - file.content_type: audio/webm; codecs=opus
Additional Information
No response