mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-07 11:28:35 -05:00
issue: random route responds with 200 instead of 401 #5487
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 @maurerle on GitHub (Jun 9, 2025).
Check Existing Issues
Installation Method
Docker
Open WebUI Version
v0.6.13
Ollama Version (if applicable)
No response
Operating System
Debian 12
Browser (if applicable)
Firefox
Confirmation
README.md.Expected Behavior
Visiting openwebui at /xmlrpc.php or whatever responds with a redirect which responds with a 200.
This triggers some Security products of our IT, demanding to switch of this behavior.
It would be good, if endpoints which do not exist fail early without a login and do not respond 200
Actual Behavior
any call is redirected and responded with 200 in the first place, even if it does not exist.
Having 401 when redirecting to /auth in
await goto(/auth?redirect=${encodedUrl});might be a good fix for thisSteps to Reproduce
Logs & Screenshots
nothing provided
Additional Information
No response
@tjbck commented on GitHub (Jun 10, 2025):
We're using CSR (SPA) for Open WebUI, this is an intended behaviour. However, we're open to PRs addressing your described feature.